summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-03 10:55:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-03 10:55:14 +0000
commitce1d436cb8a50929a31d2ab21ab033f40f1da57a (patch)
treebe7a1d8159f0306635b0df950920f887883ecb17
parent4b0c3c05471bde9e3899cb654da0e4f4ddd8db4b (diff)
downloaddrakx-backup-do-not-use-ce1d436cb8a50929a31d2ab21ab033f40f1da57a.tar
drakx-backup-do-not-use-ce1d436cb8a50929a31d2ab21ab033f40f1da57a.tar.gz
drakx-backup-do-not-use-ce1d436cb8a50929a31d2ab21ab033f40f1da57a.tar.bz2
drakx-backup-do-not-use-ce1d436cb8a50929a31d2ab21ab033f40f1da57a.tar.xz
drakx-backup-do-not-use-ce1d436cb8a50929a31d2ab21ab033f40f1da57a.zip
use perldoc -l instead of perl -M + %INC
-rw-r--r--tools/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c483766eb..088c9f33f 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -21,9 +21,9 @@ $(DIRS):
install:
@install -d $(MISC_DEST)/auto
@install mdkinst_stage2_tool $(MISC_DEST)
- cp -rf `perl -Mpackdrake -le 'print $$INC{"packdrake.pm"}'` $(MISC_DEST) || { echo "install rpmtools first!" ; exit 1; }
- @cp -rf `perl -MURPM -le 'print $$INC{"URPM.pm"}' | sed s/URPM.pm//`URPM* $(MISC_DEST) || { echo "install perl-URPM first!" ; exit 1; }
- @cp -rf `perl -MURPM -le 'print $$INC{"URPM.pm"}' | sed s/URPM.pm//`auto/URPM $(MISC_DEST)/auto || { echo "install perl-URPM first!" ; exit 1; }
+ cp -rf `perldoc -l packdrake` $(MISC_DEST) || { echo "install rpmtools first!" ; exit 1; }
+ @cp -rf `perldoc -l URPM | sed s/URPM.pm//`URPM* $(MISC_DEST) || { echo "install perl-URPM first!" ; exit 1; }
+ @cp -rf `perldoc -l URPM | sed s/URPM.pm//`auto/URPM $(MISC_DEST)/auto || { echo "install perl-URPM first!" ; exit 1; }
@cd /usr/bin ; install packdrake $(MISC_DEST) || { echo "packdrake is missing"; exit 1; }
@cd /usr/bin ; install gendistrib rpm2header $(MISC_DEST) || { echo "install rpmtools first!" ; exit 1; }
@mkdir -p $(STAGE2_LIVE)/usr/bin