aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c06b4f1..282d7d2 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ BASE_URI = https://thoughtroam.xn--abcdefghijklmnopqrstuvxyz-0fc0a81c.dk/
ARTICLES = waste worlding
ONTOLOGIES = learn waste
+ONTOLOGIES_LEARN = tentacular
ONTOLOGIES_VERSION = 0.1
GRAPHS = $(patsubst ex/%.ttl,%,$(wildcard ex/*.ttl))
@@ -31,7 +32,7 @@ render:
publish:
rsync -avH --delete-after _site/ $(BASE_SSH)
-prepare: $(patsubst %,learn/$(ONTOLOGIES_VERSION)/%.ttl,core tentacular)
+prepare: $(patsubst %,learn/$(ONTOLOGIES_VERSION)/%.ttl,core $(ONTOLOGIES_LEARN))
learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
mkdir --parents learn/0.1
@@ -220,10 +221,10 @@ $(ONTOLOGIES:%=view-%-uml-diagram): view-%-uml-diagram: %/uml.svg
$(ONTOLOGIES:%=view-%-rdfs-graf): view-%-rdfs-graf: %/core.ttl
rdfs2dot -f turtle $< | xdot -
-view-learn_tentacular-rdfs-graf: learn/tentacular.ttl
+$(ONTOLOGIES_LEARN:%=view-learn_%-rdfs-graf): view-learn_%-rdfs-graf: learn/%.ttl
rdfs2dot -f turtle $< | xdot -
-view-learn_all-rdfs-graf: learn/core.ttl learn/tentacular.ttl
+view-learn_all-rdfs-graf: learn/core.ttl $(ONTOLOGIES_LEARN:%=learn/%.ttl)
rdfs2dot -f turtle $^ | xdot -
#$(ONTOLOGIES:%=view-%-puml-diagram): view-%-puml-diagram: %/core.svg