r15142 - /trunk/libdata-password-perl/debian/rules
mshuler-guest at users.alioth.debian.org
mshuler-guest at users.alioth.debian.org
Tue Feb 19 00:56:02 UTC 2008
Author: mshuler-guest
Date: Tue Feb 19 00:56:01 2008
New Revision: 15142
URL: http://svn.debian.org/wsvn/?sc=1&rev=15142
Log:
improved debian/rules
- removed commented dh_installexamples
- removed redundant dh_installdocs of README
- sync with current dh-make-perl template
Modified:
trunk/libdata-password-perl/debian/rules
Modified: trunk/libdata-password-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdata-password-perl/debian/rules?rev=15142&op=diff
==============================================================================
--- trunk/libdata-password-perl/debian/rules (original)
+++ trunk/libdata-password-perl/debian/rules Tue Feb 19 00:56:01 2008
@@ -23,15 +23,8 @@
build-stamp:
dh_testdir
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we prevent this by setting the INSTALLVENDORARCH
- # and VENDORARCHEXP environment variables.
-
# Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor \
- INSTALLVENDORARCH=/usr/share/perl5/ \
- VENDORARCHEXP=/usr/share/perl5/
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
@@ -52,8 +45,10 @@
dh_testroot
dh_clean -k
- # Add commands to install the package into debian/$PACKAGE_NAME here
+ # Add commands to install the package into $(TMP) here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
touch $@
@@ -63,8 +58,6 @@
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installexamples
- dh_installdocs README
dh_installchangelogs Changes
dh_perl
dh_compress
More information about the Pkg-perl-cvs-commits
mailing list