Makefile done.
This commit is contained in:
parent
eb5df03315
commit
87e1a2ba7a
@ -1,3 +1,16 @@
|
|||||||
|
SRCDIR=.
|
||||||
|
BUILDDIR=../graph_templates
|
||||||
|
|
||||||
#xmllint -format -xinclude %b
|
SRC=$(wildcard $(SRCDIR)/*.xml)
|
||||||
|
BUILD=$(SRC:$(SRCDIR)/%.xml=$(BUILDDIR)/%.xml)
|
||||||
|
|
||||||
|
all: templates
|
||||||
|
|
||||||
|
templates: $(BUILD)
|
||||||
|
|
||||||
|
$(BUILDDIR)/%.xml: $(SRCDIR)/%.xml
|
||||||
|
xmllint -format -xinclude -o $@ $<
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
-rm $(BUILD)
|
||||||
|
Reference in New Issue
Block a user