r13419 - in /trunk/libstring-crc32-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jan 24 11:15:44 UTC 2008


Author: dmn
Date: Thu Jan 24 11:15:44 2008
New Revision: 13419

URL: http://svn.debian.org/wsvn/?sc=1&rev=13419
Log:
* debian/rules: clean-up
  + use "$@" when touching stamps
  + remove unneeded (commented) dh_installman
  + remove unused dh_installexamples and dh_makeshlibs
  + make install target depend on install-stamp and that -- on build-stamp
  + move test suite from install to build target
  + clean: remove stamps before realclean

Modified:
    trunk/libstring-crc32-perl/debian/changelog
    trunk/libstring-crc32-perl/debian/rules

Modified: trunk/libstring-crc32-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libstring-crc32-perl/debian/changelog?rev=13419&op=diff
==============================================================================
--- trunk/libstring-crc32-perl/debian/changelog (original)
+++ trunk/libstring-crc32-perl/debian/changelog Thu Jan 24 11:15:44 2008
@@ -9,6 +9,15 @@
     Vcs-Svn fields.
   * debian/watch: remove dash from the version capture.
   * debian/rules: delete /usr/share/perl5 only if it exists.
+
+  [ Damyan Ivanov ]
+  * debian/rules: clean-up
+    + use "$@" when touching stamps
+    + remove unneeded (commented) dh_installman
+    + remove unused dh_installexamples and dh_makeshlibs
+    + make install target depend on install-stamp and that -- on build-stamp
+    + move test suite from install to build target
+    + clean: remove stamps before realclean
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:58 +0200
 

Modified: trunk/libstring-crc32-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libstring-crc32-perl/debian/rules?rev=13419&op=diff
==============================================================================
--- trunk/libstring-crc32-perl/debian/rules (original)
+++ trunk/libstring-crc32-perl/debian/rules Thu Jan 24 11:15:44 2008
@@ -27,23 +27,23 @@
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	touch build-stamp
+	$(MAKE) test
+	touch $@
 
 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
 	[ ! -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
@@ -54,16 +54,12 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs
-	dh_installexamples 
-#	dh_installman
 	dh_installchangelogs
-	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