r12965 - in /trunk/libcache-mmap-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Jan 18 13:35:52 UTC 2008


Author: dmn
Date: Fri Jan 18 13:35:47 2008
New Revision: 12965

URL: http://svn.debian.org/wsvn/?sc=1&rev=12965
Log:
* debian/rules:
  + clean stamps before distclean
  + move test suite to build-stamp
  + fix target dependencies
  + drop unused dh_makeshlibs and dh_link
  + use "$@" when touching stamps

Modified:
    trunk/libcache-mmap-perl/debian/changelog
    trunk/libcache-mmap-perl/debian/rules

Modified: trunk/libcache-mmap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcache-mmap-perl/debian/changelog?rev=12965&op=diff
==============================================================================
--- trunk/libcache-mmap-perl/debian/changelog (original)
+++ trunk/libcache-mmap-perl/debian/changelog Fri Jan 18 13:35:47 2008
@@ -14,6 +14,12 @@
     + use dist-based upstream URL
     + add copyright/licensing for packaging
     + quote upstream licensing terms exactly
+  * debian/rules:
+    + clean stamps before distclean
+    + move test suite to build-stamp
+    + fix target dependencies
+    + drop unused dh_makeshlibs and dh_link
+    + use "$@" when touching stamps
 
  -- Damyan Ivanov <dmn at debian.org>  Wed, 07 Nov 2007 22:43:21 +0200
 

Modified: trunk/libcache-mmap-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcache-mmap-perl/debian/rules?rev=12965&op=diff
==============================================================================
--- trunk/libcache-mmap-perl/debian/rules (original)
+++ trunk/libcache-mmap-perl/debian/rules Fri Jan 18 13:35:47 2008
@@ -35,26 +35,25 @@
 	# 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
 
-	# 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 dependent package, we are not
@@ -62,7 +61,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
@@ -78,9 +77,8 @@
 	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