r13187 - /trunk/libpoe-component-ikc-perl/debian/rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Jan 21 19:31:33 UTC 2008
Author: gregoa-guest
Date: Mon Jan 21 19:31:33 2008
New Revision: 13187
URL: http://svn.debian.org/wsvn/?sc=1&rev=13187
Log:
debian/rules: don't use *VENDORARCH*, rmdir /usr/lib/perl5
Modified:
trunk/libpoe-component-ikc-perl/debian/rules
Modified: trunk/libpoe-component-ikc-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libpoe-component-ikc-perl/debian/rules?rev=13187&op=diff
==============================================================================
--- trunk/libpoe-component-ikc-perl/debian/rules (original)
+++ trunk/libpoe-component-ikc-perl/debian/rules Mon Jan 21 19:31:33 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
@@ -54,6 +47,8 @@
# Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/lib/perl5
touch $@
More information about the Pkg-perl-cvs-commits
mailing list