diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-06-01 12:40:22 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-06-04 17:35:42 +0200 |
commit | d4f30b185e74fa4467040148b1fb81d3e3618880 (patch) | |
tree | e8a8ff83a13bb1ef09cd2b97ba7f1ec1e02ddcc7 /Makefile | |
parent | 3e279005847639395e740986fb12f353e7a0b83a (diff) |
generalize non-core learn ontologies
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |