From 8e6ae422112f6d5d91eb616159d6d4e8b7a9142b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 30 May 2001 16:04:55 +0000 Subject: (install): ensure pm's in subdirs don't have /use(diagnostics|vars|strict)/ --- perl-install/Makefile.drakxtools | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 -- cgit v1.2.1