r11979 - in /trunk/libtext-csv-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Jan 4 08:01:10 UTC 2008


Author: dmn
Date: Fri Jan  4 08:01:10 2008
New Revision: 11979

URL: http://svn.debian.org/wsvn/?sc=1&rev=11979
Log:
* debian/rules:
  + use proper DESTDIR and PREFIX in $(MAKE) install

Modified:
    trunk/libtext-csv-perl/debian/changelog
    trunk/libtext-csv-perl/debian/rules

Modified: trunk/libtext-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/changelog?rev=11979&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/changelog (original)
+++ trunk/libtext-csv-perl/debian/changelog Fri Jan  4 08:01:10 2008
@@ -18,6 +18,8 @@
     + s/DPATCH_STAMPFN/QUILT_STAMPFN/ in debian/rules
     + refreshed all patches
     + stripped comments accordingly
+  * debian/rules:
+    + use proper DESTDIR and PREFIX in $(MAKE) install
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 04 Jan 2008 01:22:16 +0100
 

Modified: trunk/libtext-csv-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-csv-perl/debian/rules?rev=11979&op=diff
==============================================================================
--- trunk/libtext-csv-perl/debian/rules (original)
+++ trunk/libtext-csv-perl/debian/rules Fri Jan  4 08:01:10 2008
@@ -16,7 +16,7 @@
 PERL	?= /usr/bin/perl
 
 package	:= $(firstword $(shell dh_listpackages))
-prefix	:= $(CURDIR)/debian/$(package)/usr
+tmp	:= $(CURDIR)/debian/$(package)
 
 build:	build-stamp
 build-stamp: $(QUILT_STAMPFN)
@@ -37,8 +37,8 @@
 	dh_clean
 	dh_installdirs
 
-	$(MAKE) install PREFIX=$(prefix)
-	[ ! -d $(prefix)/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty $(prefix)/share/perl5
+	$(MAKE) install DESTDIR=$(tmp) PREFIX=/usr
+	[ ! -d $(tmp)/usr/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty $(tmp)/usr/share/perl5
 
 	dh_installdocs README
 	dh_installexamples examples/*




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