summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile.drakxtools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-27 19:35:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-27 19:35:31 +0000
commit4df4016db20a8c395255a5de24ba2ee3d2a8b9a2 (patch)
treed3f3f39f57cc1d4c3cde4a044272b14424416cd4 /perl-install/Makefile.drakxtools
parent43d400a7092d46d491c3e9cca3f640b82ce57fa9 (diff)
downloaddrakx-4df4016db20a8c395255a5de24ba2ee3d2a8b9a2.tar
drakx-4df4016db20a8c395255a5de24ba2ee3d2a8b9a2.tar.gz
drakx-4df4016db20a8c395255a5de24ba2ee3d2a8b9a2.tar.bz2
drakx-4df4016db20a8c395255a5de24ba2ee3d2a8b9a2.tar.xz
drakx-4df4016db20a8c395255a5de24ba2ee3d2a8b9a2.zip
- adapt to new diskdrake modules
- some cleanup in drakxtools build
Diffstat (limited to 'perl-install/Makefile.drakxtools')
-rw-r--r--perl-install/Makefile.drakxtools9
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 03d0eac1f..d639d4960 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -1,7 +1,8 @@
+# -*- Makefile -*-
include Makefile.config
INLIBDEST_DIRS = Newt c resize_fat sbus_probing
-HAVEINST_DIRS = share/po interactive_http
+HAVEINST_DIRS = share/po standalone/interactive_http
DIRS = $(INLIBDEST_DIRS) $(HAVEINST_DIRS) ddcprobe serial_probe
NAME = libDrakX
PREFIX =
@@ -21,7 +22,6 @@ all: rpcinfo-flushed $(DIRS)
$(DIRS):
install -d auto
- rm standalone ; ln -s . standalone
rm -f share/po/DrakX.pot # force rebuild of po's
[ ! -e $@/Makefile ] || $(MAKE) -C $@
@@ -48,6 +48,9 @@ install:
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
+ install -d $(LIBDEST)/diskdrake
+ install -m 644 diskdrake/*.pm $(LIBDEST)/diskdrake
+
find $(LIBDEST) -name "*.pm" | xargs perl -pi -e '$$_ = "\n" if /\s*use\s+(diagnostics|vars|strict)/'
for i in $(HAVEINST_DIRS); do \
@@ -55,4 +58,4 @@ install:
done
find auto -follow -name .exists -o -name "*.bs" | xargs rm -f
- cp -rfL auto icons $(LIBDEST)
+ cp -rfL auto standalone/icons $(LIBDEST)