summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile.drakxtools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-24 22:12:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-24 22:12:28 +0000
commitefcd2b112baacf97b784f965a4188733969f2b67 (patch)
treede190a319a22b61e9ad33c6aa9e57a699ec3af26 /perl-install/Makefile.drakxtools
parentf64471ee99e8b5d7ee21af0a51b5901fa597dbcf (diff)
downloaddrakx-backup-do-not-use-efcd2b112baacf97b784f965a4188733969f2b67.tar
drakx-backup-do-not-use-efcd2b112baacf97b784f965a4188733969f2b67.tar.gz
drakx-backup-do-not-use-efcd2b112baacf97b784f965a4188733969f2b67.tar.bz2
drakx-backup-do-not-use-efcd2b112baacf97b784f965a4188733969f2b67.tar.xz
drakx-backup-do-not-use-efcd2b112baacf97b784f965a4188733969f2b67.zip
add PMS_DIRS in Makefile.config and use it everywhere
(cleaning some ugly stuff in Makefile.drakxtools while doing so) => now adding a new directory only need to be done at one place
Diffstat (limited to 'perl-install/Makefile.drakxtools')
-rw-r--r--perl-install/Makefile.drakxtools12
1 files changed, 2 insertions, 10 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
index 6b6dadfc9..70c5e9210 100644
--- a/perl-install/Makefile.drakxtools
+++ b/perl-install/Makefile.drakxtools
@@ -26,7 +26,7 @@ $(DIRS):
[ ! -e $@/Makefile ] || $(MAKE) -C $@
install:
- mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps} $(LIBDEST)/{network,security,harddrake,interactive,partition_table} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR)
+ mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR)
install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%)
install $(STANDALONEPMS) $(SBINDEST)
install -s rpcinfo-flushed ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST)
@@ -35,21 +35,13 @@ install:
mv -f $(SBINDEST)/lsnetdrake $(BINDEST)/lsnetdrake
install -m 644 *.pm $(LIBDEST)
- for i in network harddrake security interactive partition_table; do install -m 644 $$i/*.pm $(LIBDEST)/$$i/;done
+ for i in $(PMS_DIRS); do install -d $$i ; install -m 644 $$i/*.pm $(LIBDEST)/$$i/;done
install -m 644 pixmaps/* $(PIXDIR)
install -m 644 share/diskdrake.rc $(DATADIR)/$(NAME)
install -d $(PREFIX)/etc/security
echo 'RESTRICT=yes' > $(PREFIX)/etc/security/fileshare.conf
- install -m 644 $(patsubst %,Newt/%.pm,Newt) $(LIBDEST)/Newt
- 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
-
- install -d $(LIBDEST)/diskdrake
- install -m 644 diskdrake/*.pm $(LIBDEST)/diskdrake
-
for i in $(HAVEINST_DIRS); do \
$(MAKE) -C $$i install PREFIX=$(PREFIX) DATADIR=$(DATADIR) NAME=$(NAME) ; \
done