From 696f30f9b0ae3998c921d182127ff8d062808856 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 15 Nov 1999 13:07:33 +0000 Subject: no_comment --- tools/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tools/Makefile') 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 $@ $< -- cgit v1.2.1