summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d86a51..b3f4d92 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,8 @@ publish:
prepare: \
$(patsubst %,learn/$(ONTOLOGIES_VERSION)/%.ttl,core $(ONTOLOGIES_LEARN)) \
- $(foreach dia,tentacular trap,$(foreach ext,svg tex,learn/$(dia)_rdfs.$(ext)))
+ $(foreach ext,svg tex,learn/rdfs.$(ext)) \
+ $(foreach dia,tentacular trap all,$(foreach ext,svg tex,learn/$(dia)_rdfs.$(ext)))
learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
mkdir --parents learn/0.1
@@ -211,12 +212,18 @@ $(ARTICLES:%=%/b.tex): %/b.tex:
learn/%_rdfs.svg: learn/%.ttl
rdfs2dot -f turtle $< | dot -Tsvg -o$@
+learn/all_rdfs.svg: learn/core.ttl $(ONTOLOGIES_LEARN:%=learn/%.ttl)
+ rdfs2dot -f turtle $^ | dot -Tsvg -o$@
+
%/rdfs.tex: %/core.ttl
rdfs2dot -f turtle $< | dot2tex --figonly -o$@
learn/%_rdfs.tex: learn/%.ttl
rdfs2dot -f turtle $< | dot2tex --figonly -o$@
+learn/all_rdfs.tex: learn/core.ttl $(ONTOLOGIES_LEARN:%=learn/%.ttl)
+ rdfs2dot -f turtle $^ | dot2tex --figonly -o$@
+
ex/%.puml: ex/%.ttl ex/prefixes.ttl
rdfpuml $<