summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e3241f872..86a1915c7 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -7,7 +7,7 @@ CFLAGS = -Wall
.PHONY: clean install $(DIRS)
-all: $(BASE)/depslist $(BASE)/hdlist.cz2 $(DIRS) xhost+ install
+all: $(BASE)/depslist $(BASE)/hdlists $(DIRS) xhost+ install
$(DIRS):
make -C $@
@@ -24,11 +24,11 @@ xhost+: %: %.c
ddcprobe/ddcxinfos:
$(MAKE) -C ddcprobe ddcxinfos
-$(BASE)/depslist: $(BASE)/hdlist.cz2
- gendepslist2 -o $@ $<
+$(BASE)/depslist: $(BASE)/hdlists
+ gendepslist2 -o $@ `cat $< | perl -pe 's|(.*)|'$(BASE)'/$$1|' `
-$(BASE)/hdlist.cz2: $(RPMS)
- genhdlist_cz2 --noclean --distrib $(ROOTDEST)
+$(BASE)/hdlists: $(RPMS)
+ genhdlists --noclean --distrib $(ROOTDEST)
clean:
for i in $(DIRS); do $(MAKE) -C $$i clean; done