Archived
1
0

Makefile done.

This commit is contained in:
Markus Birth 2016-09-04 16:47:59 +02:00
parent eb5df03315
commit 87e1a2ba7a

View File

@ -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)