r17650 - /trunk/libmodule-pluggable-perl/debian/rules

roberto at users.alioth.debian.org roberto at users.alioth.debian.org
Sun Mar 16 06:44:52 UTC 2008


Author: roberto
Date: Sun Mar 16 06:44:51 2008
New Revision: 17650

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17650
Log:
debian/rules tweaking

Modified:
    trunk/libmodule-pluggable-perl/debian/rules

Modified: trunk/libmodule-pluggable-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-pluggable-perl/debian/rules?rev=17650&op=diff
==============================================================================
--- trunk/libmodule-pluggable-perl/debian/rules (original)
+++ trunk/libmodule-pluggable-perl/debian/rules Sun Mar 16 06:44:51 2008
@@ -26,8 +26,7 @@
 build-stamp:
 	dh_testdir
 
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL installdirs=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
 
@@ -38,9 +37,7 @@
 	dh_testroot
 
 	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -48,8 +45,8 @@
 	dh_testroot
 	dh_clean -k
 
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install destdir=$(TMP) create_packlist=0
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 	touch $@
 




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