r13405 - in /trunk/libregexp-copy-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jan 24 10:52:04 UTC 2008


Author: dmn
Date: Thu Jan 24 10:52:04 2008
New Revision: 13405

URL: http://svn.debian.org/wsvn/?sc=1&rev=13405
Log:
* debian/rules:
  + move test suite from install to build target
  + make install target depend only on install-stamp and that -- on
    build-stamp
  + use "$@" when touching stamps
  + remove unused dh_link and dh_makeshlibs

Modified:
    trunk/libregexp-copy-perl/debian/changelog
    trunk/libregexp-copy-perl/debian/rules

Modified: trunk/libregexp-copy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libregexp-copy-perl/debian/changelog?rev=13405&op=diff
==============================================================================
--- trunk/libregexp-copy-perl/debian/changelog (original)
+++ trunk/libregexp-copy-perl/debian/changelog Thu Jan 24 10:52:04 2008
@@ -10,6 +10,12 @@
   * debian/watch: use dist-based URL, better pattern
   * Standards-Version: 3.7.3 (no changes)
   * debhelper compatibility level 6
+  * debian/rules:
+    + move test suite from install to build target
+    + make install target depend only on install-stamp and that -- on
+      build-stamp
+    + use "$@" when touching stamps
+    + remove unused dh_link and dh_makeshlibs
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:47 +0200
 

Modified: trunk/libregexp-copy-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libregexp-copy-perl/debian/rules?rev=13405&op=diff
==============================================================================
--- trunk/libregexp-copy-perl/debian/rules (original)
+++ trunk/libregexp-copy-perl/debian/rules Thu Jan 24 10:52:04 2008
@@ -27,7 +27,8 @@
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	touch build-stamp
+	$(MAKE) test
+	touch $@
 
 clean:
 	dh_testdir
@@ -35,15 +36,14 @@
 	[ ! -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
 	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-	touch install-stamp
+	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -56,13 +56,11 @@
 	dh_installdocs README
 	dh_installexamples 
 	dh_installchangelogs CHANGES
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_makeshlibs
 	dh_installdeb
-	dh_perl 
+	dh_perl
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums




More information about the Pkg-perl-cvs-commits mailing list