r52543 - in /trunk/libio-compress-perl/debian: changelog libio-compress-perl.install rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Feb 11 15:23:24 UTC 2010
Author: gregoa
Date: Thu Feb 11 15:23:06 2010
New Revision: 52543
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52543
Log:
debian/rules: set DESTDIR instead of using a separate .install file; use
variables for several overrides.
Removed:
trunk/libio-compress-perl/debian/libio-compress-perl.install
Modified:
trunk/libio-compress-perl/debian/changelog
trunk/libio-compress-perl/debian/rules
Modified: trunk/libio-compress-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-compress-perl/debian/changelog?rev=52543&op=diff
==============================================================================
--- trunk/libio-compress-perl/debian/changelog (original)
+++ trunk/libio-compress-perl/debian/changelog Thu Feb 11 15:23:06 2010
@@ -18,6 +18,8 @@
* Set Standards-Version to 3.8.4 (no changes).
* Bump versioned build and runtime dependencies on
libcompress-raw-bzip2-perl and libcompress-raw-zlib-perl.
+ * debian/rules: set DESTDIR instead of using a separate .install file; use
+ variables for several overrides.
-- gregor herrmann <gregoa at debian.org> Thu, 11 Feb 2010 15:41:06 +0100
Modified: trunk/libio-compress-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-compress-perl/debian/rules?rev=52543&op=diff
==============================================================================
--- trunk/libio-compress-perl/debian/rules (original)
+++ trunk/libio-compress-perl/debian/rules Thu Feb 11 15:23:06 2010
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+
+PACKAGE = $(firstword $(shell dh_listpackages))
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh --with quilt $@
@@ -10,11 +13,11 @@
dh_auto_test -- TEST_SKIP_VERSION_CHECK=1
override_dh_auto_install:
- dh_auto_install
+ dh_auto_install -- DESTDIR=$(TMP)
pod2man --section 3pm --name "IO::Compress::FAQ" $(CURDIR)/pod/FAQ.pod \
- > debian/tmp/usr/share/man/man3/IO::Compress::FAQ.3pm
+ > $(TMP)/usr/share/man/man3/IO::Compress::FAQ.3pm
override_dh_installexamples:
dh_installexamples
- find debian/libio-compress-perl/usr/share/doc/libio-compress-perl/examples \
+ find $(TMP)/usr/share/doc/$(PACKAGE)/examples \
-type f -exec sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' '{}' \;
More information about the Pkg-perl-cvs-commits
mailing list