diff options
author | joey <joey> | 2001-02-14 23:18:29 +0000 |
---|---|---|
committer | joey <joey> | 2001-02-14 23:18:29 +0000 |
commit | 455756d1bb8afa6ed981d5a22dbeae69b0c914d7 (patch) | |
tree | 14e281cee234b993fbc6f609a7000d2c6c2708dd | |
parent | e8dfff67a6db95dda5951585f74ce2e89f1ac1cf (diff) | |
download | debhelper-455756d1bb8afa6ed981d5a22dbeae69b0c914d7.tar.gz |
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.
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 7 insertions, 3 deletions
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 |