summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-05-30 16:04:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-05-30 16:04:55 +0000
commit8e6ae422112f6d5d91eb616159d6d4e8b7a9142b (patch)
treec82a674530db171f9fa484b982b28dbff2784745 /perl-install
parent0879c2dadfe9f6998bdcddf837918ed8617d17b4 (diff)
downloaddrakx-backup-do-not-use-8e6ae422112f6d5d91eb616159d6d4e8b7a9142b.tar
drakx-backup-do-not-use-8e6ae422112f6d5d91eb616159d6d4e8b7a9142b.tar.gz
drakx-backup-do-not-use-8e6ae422112f6d5d91eb616159d6d4e8b7a9142b.tar.bz2
drakx-backup-do-not-use-8e6ae422112f6d5d91eb616159d6d4e8b7a9142b.tar.xz
drakx-backup-do-not-use-8e6ae422112f6d5d91eb616159d6d4e8b7a9142b.zip
(install): ensure pm's in subdirs don't have /use(diagnostics|vars|strict)/
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile.drakxtools4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 7c0396263..7395064d4 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -27,7 +27,7 @@ install:
install -s ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST)
ln -s ../../$(patsubst $(PREFIX)/usr%,%,$(SBINDEST))/XFdrake $(BINX11DEST)/Xdrakres
- for i in *.pm ; do perl -pe '$$_ = "\n" if /\s*use\s+(diagnostics|vars|strict)/' $$i > $(LIBDEST)/$$i ; done
+ install -m 644 *.pm $(LIBDEST)
install -m 644 pixmaps/* $(PIXDIR)
install -m 644 share/diskdrake.rc $(ETCDEST)
install -m 644 share/wizard.rc $(ETCDEST)
@@ -36,6 +36,8 @@ install:
install -m 644 $(patsubst %,c/%.pm,stuff) $(LIBDEST)/c
install -m 644 $(patsubst %,sbus_probing/%.pm,main) $(LIBDEST)/sbus_probing
install -m 644 $(patsubst %,resize_fat/%.pm,main any boot_sector c_rewritten dir_entry directory fat info_sector io) $(LIBDEST)/resize_fat
+ find $(LIBDEST) -name "*.pm" | xargs perl -pi -e '$$_ = "\n" if /\s*use\s+(diagnostics|vars|strict)/'
+
cp -rf auto icons $(LIBDEST)
bzip2 -9 $(LIBDEST)/po/*.po
find $(LIBDEST) -name "*.so" | xargs strip