summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-29 06:49:20 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-29 06:49:20 +0200
commitb2d01e9bcb8e9958f99066ee527943723c9c2ad7 (patch)
tree122e4c48224a47f0a546b132c5d5b728431f8d3f /Makefile
parentbfcf99f825538035d0570c347f4fe2e8dbe505d3 (diff)
rename make targets rdfs-graf-of-* -> view-*-rdfs-graf; add diagram view targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 97bfd58..60af951 100644
--- a/Makefile
+++ b/Makefile
@@ -160,5 +160,14 @@ $(ONTOLOGIES:%=rdf/%-uml.svg): rdf/%-uml.svg: rdf/%.sdm
$(ONTOLOGIES:%=rdf/%.ttl): rdf/%.ttl: rdf/%.sdm
sdml convert -i $< -f rdf -o $@ --no-color
-$(ONTOLOGIES:%=rdfs-graf-of-%): rdfs-graf-of-%: rdf/%.ttl
+$(ONTOLOGIES:%=view-%-concept-diagram): view-%-concept-diagram: rdf/%.svg
+ inkview $<
+
+$(ONTOLOGIES:%=view-%-er-diagram): view-%-er-diagram: rdf/%-er.svg
+ inkview $<
+
+$(ONTOLOGIES:%=view-%-uml-diagram): view-%-uml-diagram: rdf/%-uml.svg
+ inkview $<
+
+$(ONTOLOGIES:%=view-%-rdfs-graf): view-%-rdfs-graf: rdf/%.ttl
rdfs2dot -f turtle $< | xdot -