From ce1d436cb8a50929a31d2ab21ab033f40f1da57a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 3 Dec 2004 10:55:14 +0000 Subject: use perldoc -l instead of perl -M + %INC --- tools/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/Makefile') 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 -- cgit v1.2.1