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 | |
parent | 510378574d4d0a97bae46ab21fdf76395b2af1a8 (diff) | |
download | drakx-696f30f9b0ae3998c921d182127ff8d062808856.tar drakx-696f30f9b0ae3998c921d182127ff8d062808856.tar.gz drakx-696f30f9b0ae3998c921d182127ff8d062808856.tar.bz2 drakx-696f30f9b0ae3998c921d182127ff8d062808856.tar.xz drakx-696f30f9b0ae3998c921d182127ff8d062808856.zip |
no_comment
Diffstat (limited to 'tools')
-rw-r--r-- | tools/.cvsignore | 2 | ||||
-rw-r--r-- | tools/Makefile | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/tools/.cvsignore b/tools/.cvsignore new file mode 100644 index 000000000..e570b13fa --- /dev/null +++ b/tools/.cvsignore @@ -0,0 +1,2 @@ +rpm2header +gendepslist 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 $@ $< |