summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-02-23 16:57:37 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-02-23 16:57:37 +0100
commit273d9f61530abcf2a651939f60c81368c1120401 (patch)
tree7d34cbadb66d2f90fa50394c59b8849748d7f3a8 /Makefile
parent9ff1c0aada03a55d7011723ffe31e5509113e7ed (diff)
downloadeumel-273d9f61530abcf2a651939f60c81368c1120401.tar.gz
eumel-273d9f61530abcf2a651939f60c81368c1120401.tar.bz2
eumel-273d9f61530abcf2a651939f60c81368c1120401.zip
Add EUDAS manuals to library
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b25c021..19bd9a8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
-BUILDDIR=_build
-STATICFILES=01_readme_INSTALL.txt releases.svg eumel_logo.svg
+BUILDDIR:=_build
+STATICFILES:=01_readme_INSTALL.txt releases.svg eumel_logo.svg
+TTLFILES:=$(shell find ttl -name '*.ttl' | sort)
all: $(BUILDDIR)/index.html links
$(BUILDDIR):
mkdir -p $(BUILDDIR)
-$(BUILDDIR)/index.ttl: $(glob ttl/*.ttl) | $(BUILDDIR)
- cat ttl/* > $@
+$(BUILDDIR)/index.ttl: $(TTLFILES) | $(BUILDDIR)
+ cat $(TTLFILES) > $@
$(BUILDDIR)/bib.rst: $(BUILDDIR)/index.ttl tools/formatRefs.py | $(BUILDDIR)
cat $(BUILDDIR)/index.ttl | ./tools/formatRefs.py https://6xq.net/eumel/ | sort -n > $(BUILDDIR)/bib.rst