summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-06-05 12:52:55 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-05 12:53:10 +0200
commit809c04efcafe31fad70e7b031835d7cc7eb3266a (patch)
tree514a25b4c166613dd8a76d851ba7e6771aef8f1a /Makefile
parent00a88d63ae5dab0ef9a98c8eeed926ddeff1a6f0 (diff)
add more diagrams
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 $<