r13117 - in /trunk/libdigest-sha-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Jan 21 11:27:33 UTC 2008


Author: dmn
Date: Mon Jan 21 11:27:33 2008
New Revision: 13117

URL: http://svn.debian.org/wsvn/?sc=1&rev=13117
Log:
* debian/rules:
  + move test suite to build-stamp target
  + make install not depend on build target, but let install-stamp depend on
    build-stamp target
  + remove commented-out dh_* calls; remove unused dh_link and dh_makeshlibs
    calls

Modified:
    trunk/libdigest-sha-perl/debian/changelog
    trunk/libdigest-sha-perl/debian/rules

Modified: trunk/libdigest-sha-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdigest-sha-perl/debian/changelog?rev=13117&op=diff
==============================================================================
--- trunk/libdigest-sha-perl/debian/changelog (original)
+++ trunk/libdigest-sha-perl/debian/changelog Mon Jan 21 11:27:33 2008
@@ -8,6 +8,12 @@
 
   [ Damyan Ivanov ]
   * debian/watch: use dist-based URL, better pattern
+  * debian/rules:
+    + move test suite to build-stamp target
+    + make install not depend on build target, but let install-stamp depend on
+      build-stamp target
+    + remove commented-out dh_* calls; remove unused dh_link and dh_makeshlibs
+      calls
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:29:05 +0200
 

Modified: trunk/libdigest-sha-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdigest-sha-perl/debian/rules?rev=13117&op=diff
==============================================================================
--- trunk/libdigest-sha-perl/debian/rules (original)
+++ trunk/libdigest-sha-perl/debian/rules Mon Jan 21 11:27:33 2008
@@ -35,26 +35,26 @@
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(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
 	[ ! -e 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 dependent package, we are not
@@ -62,7 +62,7 @@
 	# the dirs, we delete them from the deb:
 	[ ! -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
@@ -74,17 +74,12 @@
 	dh_testroot
 	dh_installdocs README
 	dh_installexamples examples/*
-#	dh_installmenu
-#	dh_installcron
-#	dh_installman
 	dh_installchangelogs Changes
-	dh_link
 	dh_strip
 	dh_compress -Xexamples
 	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