From 455756d1bb8afa6ed981d5a22dbeae69b0c914d7 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 14 Feb 2001 23:18:29 +0000 Subject: r445: * Updated dh_perl to a new version for the new perl organization and policy. The -k flag has been done away with, as the new perl packages don't make packlist files. * Fixed some bugs in the new dh_perl and updated it to my current debhelper coding standards. * Use dh_perl to generate debhelper's own deps. * Version number increase to meet perl policy. --- debian/rules | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index a746144a..e37907c9 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,8 @@ export DH_COMPAT=3 # Figure out the current debhelper version. VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)') +PERLLIBDIR=$(shell perl -MConfig -e 'print $$Config{vendorlib}') + # Debug #export DH_VERBOSE=1 @@ -71,14 +73,15 @@ binary-indep: build ./dh_testroot ./dh_clean -k ./dh_installdirs usr/bin usr/share/debhelper \ - usr/lib/perl5/Debian/Debhelper + $(PERLLIBDIR)/Debian/Debhelper echo -e "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';" > \ - debian/debhelper/usr/lib/perl5/Debian/Debhelper/Dh_Version.pm + debian/debhelper/$(PERLLIBDIR)/Debian/Debhelper/Dh_Version.pm + find . -perm +111 -maxdepth 1 -type f -not -name "*.pl" \ -exec install -p {} debian/debhelper/usr/bin \; cp -a Debian/Debhelper/*.pm \ - debian/debhelper/usr/lib/perl5/Debian/Debhelper/ + debian/debhelper/$(PERLLIBDIR)/Debian/Debhelper/ cp -a autoscripts debian/debhelper/usr/share/debhelper rm -rf debian/debhelper/usr/share/debhelper/autoscripts/CVS @@ -91,6 +94,7 @@ binary-indep: build ./dh_link ./dh_compress ./dh_fixperms + ./dh_perl ./dh_installdeb ./dh_gencontrol ./dh_md5sums -- cgit v1.2.3