r13362 - in /trunk/libproc-processtable-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Jan 23 22:04:51 UTC 2008


Author: gregoa-guest
Date: Wed Jan 23 22:04:51 2008
New Revision: 13362

URL: http://svn.debian.org/wsvn/?sc=1&rev=13362
Log:
debian/rules:
  - create install-stamp target (depending on build-stamp)
  - use "$@" for touching stamp files
  - add PREFIX to make install

Modified:
    trunk/libproc-processtable-perl/debian/changelog
    trunk/libproc-processtable-perl/debian/rules

Modified: trunk/libproc-processtable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libproc-processtable-perl/debian/changelog?rev=13362&op=diff
==============================================================================
--- trunk/libproc-processtable-perl/debian/changelog (original)
+++ trunk/libproc-processtable-perl/debian/changelog Wed Jan 23 22:04:51 2008
@@ -7,8 +7,12 @@
   * Set Standards-Version to 3.7.3 (no changes needed).
   * Set debhelper compatibility level to 6.
   * debian/watch: use dist-based URL.
+  * debian/rules:
+    - create install-stamp target (depending on build-stamp)
+    - use "$@" for touching stamp files
+    - add PREFIX to make install
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 23 Jan 2008 22:58:31 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 23 Jan 2008 23:03:03 +0100
 
 libproc-processtable-perl (0.41-5) unstable; urgency=low
 

Modified: trunk/libproc-processtable-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libproc-processtable-perl/debian/rules?rev=13362&op=diff
==============================================================================
--- trunk/libproc-processtable-perl/debian/rules (original)
+++ trunk/libproc-processtable-perl/debian/rules Wed Jan 23 22:04:51 2008
@@ -18,25 +18,28 @@
 	$(MAKE) OPTIMIZE="-O2 -g -Wall"
 	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	dh_clean build-stamp
+	dh_clean build-stamp install-stamp
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 
-	$(MAKE) DESTDIR=$(TMP) install
+	$(MAKE) DESTDIR=$(TMP) PREFIX=/usr install
 	# remove the incorrectly placed example.pl
 	rm -f $(TMP)/usr/lib/perl5/Proc/example.pl
 	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+	
+	touch $@
 
 binary-indep: build install
 




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