diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/Makefile b/tools/Makefile index bdfab48c8..ea9ceb50a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -13,13 +13,13 @@ $(DIRS): make -C $@ install: - install -d $(ROOTDEST)/misc/auto - install make_mdkinst_stage2 $(ROOTDEST)/misc - cd /usr/bin ; install packdrake $(ROOTDEST)/misc || { echo "packdrake is missing"; exit 1; } - cd /usr/bin ; install gendistrib rpm2header $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } - eval `perl -V:version`; cd /usr/lib/perl5/vendor_perl/$$version/*-linux ; install packdrake.pm rpmtools.pm $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } - eval `perl -V:version`; cd /usr/lib/perl5/vendor_perl/$$version/*-linux/auto ; cp -rf rpmtools $(ROOTDEST)/misc/auto || { echo "install rpmtools first!" ; exit 1; } - mkdir -p $(DEST)/usr/bin + @install -d $(ROOTDEST)/misc/auto + @install make_mdkinst_stage2 $(ROOTDEST)/misc + @cd /usr/bin ; install packdrake $(ROOTDEST)/misc || { echo "packdrake is missing"; exit 1; } + @cd /usr/bin ; install gendistrib rpm2header $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } + @eval `perl -V:installvendorarch`; cd $$installvendorarch ; install packdrake.pm rpmtools.pm $(ROOTDEST)/misc || { echo "install rpmtools first!" ; exit 1; } + @eval `perl -V:installvendorarch`; cd $$installvendorarch/auto ; cp -rf rpmtools $(ROOTDEST)/misc/auto || { echo "install rpmtools first!" ; exit 1; } + @mkdir -p $(DEST)/usr/bin xhost+: %: %.c $(CC) $(CFLAGS) $< -L/usr/X11R6/lib -lX11 -o $@ |