mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-17 21:46:15 +02:00
boom/Makefile: new target "db" to build or update the database
This commit is contained in:
parent
fa21900b0f
commit
6ba3a5667a
@ -6,13 +6,20 @@ INV = $(shell ./boom-config inv)
|
|||||||
DSC = $(shell ./boom-config dsc)
|
DSC = $(shell ./boom-config dsc)
|
||||||
CHR = $(shell ./boom-config chr)
|
CHR = $(shell ./boom-config chr)
|
||||||
|
|
||||||
|
DIRS = $(DIST:%=dist/%) $(MANU:%=manu/%)
|
||||||
|
|
||||||
DB = $(EQU) $(INV) $(DSC) $(CHR)
|
DB = $(EQU) $(INV) $(DSC) $(CHR)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all spotless tar count
|
.PHONY: all db spotless tar count $(DIRS)
|
||||||
|
|
||||||
all: boom-config
|
all: boom-config
|
||||||
|
|
||||||
|
db: boom-config $(DIRS)
|
||||||
|
|
||||||
|
$(DIRS):
|
||||||
|
$(MAKE) -C $@
|
||||||
|
|
||||||
boom-config: boom-config.in Makefile
|
boom-config: boom-config.in Makefile
|
||||||
sed -e 's/##WARN##/*** MACHINE-GENERATED. DO NOT EDIT ! ***/' \
|
sed -e 's/##WARN##/*** MACHINE-GENERATED. DO NOT EDIT ! ***/' \
|
||||||
-e 's/##DIST##/$(DIST)/;s/##MANU##/$(MANU)/' boom-config.in \
|
-e 's/##DIST##/$(DIST)/;s/##MANU##/$(MANU)/' boom-config.in \
|
||||||
|
Loading…
Reference in New Issue
Block a user