r23412 - in /trunk/libmoosex-object-pluggable-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jul 19 19:01:02 UTC 2008
Author: gregoa
Date: Sat Jul 19 19:00:59 2008
New Revision: 23412
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23412
Log:
Refresh debian/rules, no functional changes; except: don't install README
any more.
Modified:
trunk/libmoosex-object-pluggable-perl/debian/changelog
trunk/libmoosex-object-pluggable-perl/debian/rules
Modified: trunk/libmoosex-object-pluggable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-object-pluggable-perl/debian/changelog?rev=23412&op=diff
==============================================================================
--- trunk/libmoosex-object-pluggable-perl/debian/changelog (original)
+++ trunk/libmoosex-object-pluggable-perl/debian/changelog Sat Jul 19 19:00:59 2008
@@ -6,6 +6,8 @@
* Make (build) dependency on libmoose-perl versioned (>= 0.35).
* debian/copyright: add information about the files under inc/; point to
dist-based download URL.
+ * Refresh debian/rules, no functional changes; except: don't install README
+ any more.
-- gregor herrmann <gregoa at debian.org> Sat, 19 Jul 2008 20:51:04 +0200
Modified: trunk/libmoosex-object-pluggable-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-object-pluggable-perl/debian/rules?rev=23412&op=diff
==============================================================================
--- trunk/libmoosex-object-pluggable-perl/debian/rules (original)
+++ trunk/libmoosex-object-pluggable-perl/debian/rules Sat Jul 19 19:00:59 2008
@@ -11,32 +11,22 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
- # Add commands to compile the package here
PERL_AUTOINSTALL=--skip $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
-
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
-
dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
[ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
@@ -44,24 +34,19 @@
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
- touch install-stamp
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
- dh_installdocs README
+ dh_installdocs
dh_installchangelogs Changes
dh_perl
dh_compress
@@ -71,8 +56,5 @@
dh_md5sums
dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list