[cpanminus] 06/10: debian/rules: move editing of cpanm script to build target.
gregor herrmann
gregoa at debian.org
Tue May 13 17:51:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository cpanminus.
commit 5d5746123ddfbfb1bbf90529dd9578aec9c9a25d
Author: gregor herrmann <gregoa at debian.org>
Date: Tue May 13 19:39:52 2014 +0200
debian/rules: move editing of cpanm script to build target.
---
debian/rules | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 354b037..0c07ffd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,10 @@
#!/usr/bin/make -f
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
%:
dh $@
-override_dh_auto_install:
- dh_auto_install
+override_dh_auto_build:
+ dh_auto_build
for FAT in \
APP_CPANMINUS \
ALIASED \
@@ -41,5 +38,5 @@ override_dh_auto_install:
VERSION_REGEX \
VERSION_VPP; \
do \
- sed -i -e "/<<'$$FAT'/,/^$$FAT/ d" $(TMP)/usr/bin/cpanm ; \
+ sed -i -e "/<<'$$FAT'/,/^$$FAT/ d" $(CURDIR)/blib/script/cpanm ; \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/cpanminus.git
More information about the Pkg-perl-cvs-commits
mailing list