summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile.drakxtools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-19 23:04:41 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-19 23:04:41 +0000
commit30db14621a97a66eb3bf6660621e558ecaf41e85 (patch)
tree0617bed3b2077000a89a2672213030c1ca5f150b /perl-install/Makefile.drakxtools
parent386deeb0a41c1829a35f8b08a1ffb33ef65387a9 (diff)
downloaddrakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar
drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.gz
drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.bz2
drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.tar.xz
drakx-30db14621a97a66eb3bf6660621e558ecaf41e85.zip
no_comment
Diffstat (limited to 'perl-install/Makefile.drakxtools')
-rw-r--r--perl-install/Makefile.drakxtools30
1 files changed, 30 insertions, 0 deletions
diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools
new file mode 100644
index 000000000..5e4eff121
--- /dev/null
+++ b/perl-install/Makefile.drakxtools
@@ -0,0 +1,30 @@
+DIRS = ddcprobe po Newt c pci_probing resize_fat
+PREFIX =
+SBINDEST = $(PREFIX)/usr/sbin
+ETCDEST = $(PREFIX)/etc/gtk
+BINDEST = $(PREFIX)/usr/bin
+LIBDEST = $(PREFIX)/usr/lib/libDrakX
+X11DEST = $(PREFIX)/usr/X11R6/lib/X11
+
+.PHONY: $(DIRS)
+
+all: $(DIRS)
+
+$(DIRS):
+ install -d auto
+ $(MAKE) -C $@
+
+install:
+ install -d $(BINDEST) $(ETCDEST) $(SBINDEST) $(LIBDEST) $(X11DEST) $(DIRS:%=$(LIBDEST)/%)
+ install diskdrake XFdrake ddcprobe/ddcxinfos $(SBINDEST)
+
+ for i in *.pm ; do perl -pe '$$_ = "\n" if /\s*use\s+(diagnostics|vars|strict)/' $$i > $(LIBDEST)/$$i ; done
+ install -m 644 MonitorsDB $(X11DEST)
+ install -m 644 diskdrake.rc $(ETCDEST)
+ install -m 644 po/*.po $(LIBDEST)/po
+ install -m 644 $(patsubst %,Newt/%.pm,Newt) $(LIBDEST)/Newt
+ install -m 644 $(patsubst %,c/%.pm,stuff) $(LIBDEST)/c
+ install -m 644 $(patsubst %,pci_probing/%.pm,main pcitable pci_class) $(LIBDEST)/pci_probing
+ install -m 644 $(patsubst %,resize_fat/%.pm,main any boot_sector c_rewritten dir_entry directory fat info_sector io) $(LIBDEST)/resize_fat
+ cp -rf auto $(LIBDEST)
+