r12747 - in /trunk/libxml-sax-perl/debian: changelog rules
ntyni at users.alioth.debian.org
ntyni at users.alioth.debian.org
Mon Jan 14 19:33:48 UTC 2008
Author: ntyni
Date: Mon Jan 14 19:33:46 2008
New Revision: 12747
URL: http://svn.debian.org/wsvn/?sc=1&rev=12747
Log:
* Don't set INSTALLVENDORARCH and the like; remove the empty /usr/lib/perl5
directory only if it exists.
Modified:
trunk/libxml-sax-perl/debian/changelog
trunk/libxml-sax-perl/debian/rules
Modified: trunk/libxml-sax-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libxml-sax-perl/debian/changelog?rev=12747&op=diff
==============================================================================
--- trunk/libxml-sax-perl/debian/changelog (original)
+++ trunk/libxml-sax-perl/debian/changelog Mon Jan 14 19:33:46 2008
@@ -3,6 +3,8 @@
* Remove the XS-DM-Upload-Allowed control field: I'm a DD now.
* Switch to my @debian.org email address.
* Upgrade to Standards-Version 3.7.3. No changes needed.
+ * Don't set INSTALLVENDORARCH and the like; remove the empty /usr/lib/perl5
+ directory only if it exists.
-- Niko Tyni <ntyni at debian.org> Thu, 27 Dec 2007 18:39:47 +0200
Modified: trunk/libxml-sax-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libxml-sax-perl/debian/rules?rev=12747&op=diff
==============================================================================
--- trunk/libxml-sax-perl/debian/rules (original)
+++ trunk/libxml-sax-perl/debian/rules Mon Jan 14 19:33:46 2008
@@ -35,9 +35,7 @@
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor \
- INSTALLVENDORARCH=/usr/share/perl5/ \
- VENDORARCHEXP=/usr/share/perl5/
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
touch build-stamp
@@ -49,6 +47,8 @@
dh_clean -k
dh_installdirs
$(MAKE) install PREFIX=$(TMP_DIR)/usr
+ [ ! -d $(TMP_DIR)/usr/lib/perl5 ] || \
+ rmdir --parents --ignore-fail-on-non-empty $(TMP_DIR)/usr/lib/perl5
touch install-stamp
binary-indep: build install
More information about the Pkg-perl-cvs-commits
mailing list