r11120 - in /trunk/libend-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Dec 11 14:08:10 UTC 2007


Author: dmn
Date: Tue Dec 11 14:08:10 2007
New Revision: 11120

URL: http://svn.debian.org/wsvn/?sc=1&rev=11120
Log:
* debian/rules
  + add install-stamp target and make install depend on it, instead of build
  + split PREFIX to DESTDIR and PREFIX
  + drop unneeded dh_shlibdeps

Modified:
    trunk/libend-perl/debian/changelog
    trunk/libend-perl/debian/rules

Modified: trunk/libend-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libend-perl/debian/changelog?rev=11120&op=diff
==============================================================================
--- trunk/libend-perl/debian/changelog (original)
+++ trunk/libend-perl/debian/changelog Tue Dec 11 14:08:10 2007
@@ -14,6 +14,10 @@
   [ Damyan Ivanov ]
   * debian/control
     + slight rewordiing and re-wrapping
+  * debian/rules
+    + add install-stamp target and make install depend on it, instead of build
+    + split PREFIX to DESTDIR and PREFIX
+    + drop unneeded dh_shlibdeps
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 07 Nov 2007 16:53:32 +0100
 

Modified: trunk/libend-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libend-perl/debian/rules?rev=11120&op=diff
==============================================================================
--- trunk/libend-perl/debian/rules (original)
+++ trunk/libend-perl/debian/rules Tue Dec 11 14:08:10 2007
@@ -31,20 +31,21 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
+	rm -f build-stamp install-stamp
 
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 	dh_clean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 
 	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install PREFIX=$(TMP)/usr
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
 
 
@@ -61,8 +62,7 @@
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
+	dh_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb --destdir=$(DESTDIR)




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