r16347 - in /trunk/libdir-purge-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Mar 3 18:51:22 UTC 2008
Author: gregoa-guest
Date: Mon Mar 3 18:51:21 2008
New Revision: 16347
URL: http://svn.debian.org/wsvn/?sc=1&rev=16347
Log:
debian/rules: update with dh-make-perl's help.
Modified:
trunk/libdir-purge-perl/debian/changelog
trunk/libdir-purge-perl/debian/rules
Modified: trunk/libdir-purge-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdir-purge-perl/debian/changelog?rev=16347&op=diff
==============================================================================
--- trunk/libdir-purge-perl/debian/changelog (original)
+++ trunk/libdir-purge-perl/debian/changelog Mon Mar 3 18:51:21 2008
@@ -4,9 +4,10 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467817).
+ * debian/rules: update with dh-make-perl's help.
* debian/watch: use dist-based URL.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:29:06 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Mon, 03 Mar 2008 19:49:50 +0100
libdir-purge-perl (1.02-1) unstable; urgency=low
Modified: trunk/libdir-purge-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdir-purge-perl/debian/rules?rev=16347&op=diff
==============================================================================
--- trunk/libdir-purge-perl/debian/rules (original)
+++ trunk/libdir-purge-perl/debian/rules Mon Mar 3 18:51:21 2008
@@ -23,52 +23,39 @@
build-stamp:
dh_testdir
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ $(MAKE)
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- # Add commands to clean up after the build process here
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) test
$(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
+ 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_installcron
-# dh_installmenu
-# dh_installexamples
dh_installdocs README
dh_installchangelogs CHANGES
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
More information about the Pkg-perl-cvs-commits
mailing list