summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-02 14:29:00 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-02 14:29:00 +0000
commitf8663e567ced1a255f842ac59c4d139898a755f4 (patch)
tree9262359cff0a07b7b9e1c59d5bfe0f7070a19c35 /tools
parentd062b0681ed8e6658593064edd42aaeb23664414 (diff)
downloaddrakx-f8663e567ced1a255f842ac59c4d139898a755f4.tar
drakx-f8663e567ced1a255f842ac59c4d139898a755f4.tar.gz
drakx-f8663e567ced1a255f842ac59c4d139898a755f4.tar.bz2
drakx-f8663e567ced1a255f842ac59c4d139898a755f4.tar.xz
drakx-f8663e567ced1a255f842ac59c4d139898a755f4.zip
no_comment
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index a33c481d3..fec667eff 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,14 +1,18 @@
ROOTDEST = /export
DEST = $(ROOTDEST)/Mandrake/mdkinst
RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
+DIRS = ddcprobe pnp_serial
BASE = $(ROOTDEST)/Mandrake/base
-.PHONY: clean install
+.PHONY: clean install $(DIRS)
-all: $(BASE)/depslist $(BASE)/hdlist install
+all: $(BASE)/depslist $(BASE)/hdlist $(DIRS) install
+
+$(DIRS):
+ make -C $@
install:
- $(MAKE) gendepslist rpm2header ddcprobe/ddcxinfos
+ $(MAKE) gendepslist rpm2header
install make_mdkinst_stage2 gendepslist rpm2header genhdlist $(ROOTDEST)/misc
gendepslist: %: %.cc
@@ -28,4 +32,5 @@ $(BASE)/hdlist: $(RPMS)
./genhdlist $(ROOTDEST)
clean:
+ for i in $(DIRS); do $(MAKE) -C $$i clean; done
rm -rf *~ gendepslist rpm2header ddcprobe/ddcxinfos */*.o