r11681 - in /trunk/libmodule-corelist-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Dec 26 16:59:31 UTC 2007


Author: gregoa-guest
Date: Wed Dec 26 16:59:30 2007
New Revision: 11681

URL: http://svn.debian.org/wsvn/?sc=1&rev=11681
Log:
debian/rules:
  - remove OPTIMIZE (this is an arch:all package)
  - move tests to build target
  - call dh_clean before make realclean
  - let install-stamp target depend on build-stamp
  - remove commented out/unneeded dh_* calls
  - don't install README (which is an outdated version of the POD/manpage)

Modified:
    trunk/libmodule-corelist-perl/debian/changelog
    trunk/libmodule-corelist-perl/debian/rules

Modified: trunk/libmodule-corelist-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-corelist-perl/debian/changelog?rev=11681&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/debian/changelog (original)
+++ trunk/libmodule-corelist-perl/debian/changelog Wed Dec 26 16:59:30 2007
@@ -7,6 +7,13 @@
   * Set Standards-Version to 3.7.3 (no changes needed).
   * debian/copyright: add generic upstream URL and adapt years of copyright.
   * debian/watch: use dist-based URL.
+  * debian/rules:
+    - remove OPTIMIZE (this is an arch:all package)
+    - move tests to build target
+    - call dh_clean before make realclean
+    - let install-stamp target depend on build-stamp
+    - remove commented out/unneeded dh_* calls
+    - don't install README (which is an outdated version of the POD/manpage)
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:41 +0200
 

Modified: trunk/libmodule-corelist-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-corelist-perl/debian/rules?rev=11681&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/debian/rules (original)
+++ trunk/libmodule-corelist-perl/debian/rules Wed Dec 26 16:59:30 2007
@@ -18,21 +18,21 @@
 build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+	$(MAKE)
+	$(MAKE) test
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
+	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
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 	touch install-stamp
@@ -43,12 +43,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installexamples
-	dh_installdocs README
+	dh_installdocs
 	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