From d4f30b185e74fa4467040148b1fb81d3e3618880 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 1 Jun 2024 12:40:22 +0200 Subject: generalize non-core learn ontologies --- Makefile | 7 ++++--- 1 file 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 -- cgit v1.2.3