diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-15 13:07:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-15 13:07:33 +0000 |
commit | 696f30f9b0ae3998c921d182127ff8d062808856 (patch) | |
tree | dd83f24d16977bd8edef42fcfe9cc2f31bbd1c1b /tools/Makefile | |
parent | 510378574d4d0a97bae46ab21fdf76395b2af1a8 (diff) | |
download | drakx-backup-do-not-use-696f30f9b0ae3998c921d182127ff8d062808856.tar drakx-backup-do-not-use-696f30f9b0ae3998c921d182127ff8d062808856.tar.gz drakx-backup-do-not-use-696f30f9b0ae3998c921d182127ff8d062808856.tar.bz2 drakx-backup-do-not-use-696f30f9b0ae3998c921d182127ff8d062808856.tar.xz drakx-backup-do-not-use-696f30f9b0ae3998c921d182127ff8d062808856.zip |
no_comment
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile index dc31b6b0d..c6c01dca0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,14 +1,17 @@ ROOTDEST = /export +DEST = $(ROOTDEST)/Mandrake/mdkinst RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm) +LOCALFILES = ddcprobe/ddcxinfos BASE = $(ROOTDEST)/Mandrake/base .PHONY: clean install -all: $(BASE)/depslist $(BASE)/hdlist +all: $(BASE)/depslist $(BASE)/hdlist install install: - $(MAKE) gendepslist rpm2header + $(MAKE) gendepslist rpm2header ddcprobe/ddcxinfos install make_mdkinst_stage2 gendepslist rpm2header genhdlist $(ROOTDEST)/misc + install -s $(LOCALFILES) $(DEST)/usr/bin gendepslist: %: %.cc $(CXX) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@ @@ -16,6 +19,9 @@ gendepslist: %: %.cc rpm2header: %: %.c $(CC) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@ +ddcprobe/ddcxinfos: + $(MAKE) -C ddcprobe ddcxinfos + $(BASE)/depslist: $(BASE)/hdlist gendepslist ./gendepslist -h $@ $< |