r14036 - in /trunk/libproc-fork-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Feb 2 22:18:57 UTC 2008


Author: gregoa-guest
Date: Sat Feb  2 22:18:57 2008
New Revision: 14036

URL: http://svn.debian.org/wsvn/?sc=1&rev=14036
Log:
debian/rules:
  - always create new Makefile
  - use DESTDIR and PREFIX for make install

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

Modified: trunk/libproc-fork-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libproc-fork-perl/debian/changelog?rev=14036&op=diff
==============================================================================
--- trunk/libproc-fork-perl/debian/changelog (original)
+++ trunk/libproc-fork-perl/debian/changelog Sat Feb  2 22:18:57 2008
@@ -12,8 +12,11 @@
   * New upstream release.
   * debian/rules: delete /usr/lib/perl5 only if it exists.
   * debian/rules: extend regexp for matching upstream versions.
+  * debian/rules:
+    - always create new Makefile
+    - use DESTDIR and PREFIX for make install
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 02 Feb 2008 23:13:55 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 02 Feb 2008 23:14:22 +0100
 
 libproc-fork-perl (0.6-1) unstable; urgency=low
 

Modified: trunk/libproc-fork-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libproc-fork-perl/debian/rules?rev=14036&op=diff
==============================================================================
--- trunk/libproc-fork-perl/debian/rules (original)
+++ trunk/libproc-fork-perl/debian/rules Sat Feb  2 22:18:57 2008
@@ -12,9 +12,9 @@
 
 
 build: build-stamp
-build-stamp: 
+build-stamp:
 	dh_testdir
-	[ -f Makefile ] || $(PERL) Makefile.PL
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	TEST_POD=1 $(MAKE) test
 	touch $@
@@ -23,7 +23,7 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp install-stamp
-	dh_clean 
+	dh_clean
 	[ ! -f Makefile ] || $(MAKE) distclean
 
 install: install-stamp
@@ -31,7 +31,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) install_vendor PREFIX=$(TMP)/usr
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 	touch $@
 
@@ -52,4 +52,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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