summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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