From 6ba3a5667a4a9fce348b9e46e2de1cfc23e0a3e5 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 30 Oct 2010 19:09:30 -0300 Subject: [PATCH] boom/Makefile: new target "db" to build or update the database --- boom/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/boom/Makefile b/boom/Makefile index a5805f2..a1fe765 100644 --- a/boom/Makefile +++ b/boom/Makefile @@ -6,13 +6,20 @@ INV = $(shell ./boom-config inv) DSC = $(shell ./boom-config dsc) CHR = $(shell ./boom-config chr) +DIRS = $(DIST:%=dist/%) $(MANU:%=manu/%) + DB = $(EQU) $(INV) $(DSC) $(CHR) -.PHONY: all spotless tar count +.PHONY: all db spotless tar count $(DIRS) all: boom-config +db: boom-config $(DIRS) + +$(DIRS): + $(MAKE) -C $@ + boom-config: boom-config.in Makefile sed -e 's/##WARN##/*** MACHINE-GENERATED. DO NOT EDIT ! ***/' \ -e 's/##DIST##/$(DIST)/;s/##MANU##/$(MANU)/' boom-config.in \