From 644e05f937578acf4d13b6c42834191c086e9102 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 28 Apr 2024 10:24:03 +0200 Subject: improve ontology targets --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d073794..cc799bb 100644 --- a/Makefile +++ b/Makefile @@ -149,16 +149,16 @@ $(ARTICLES:%=%/b.tex): %/b.tex: rm --force _site/b.pdf $(ONTOLOGIES:%=rdf/%.svg): rdf/%.svg: rdf/%.sdm - cd rdf && sdml draw --diagram concepts -i $*.sdm -f svg -o $*.svg + sdml draw --diagram concepts -i $< -f svg -o $@ $(ONTOLOGIES:%=rdf/%-er.svg): rdf/%-er.svg: rdf/%.sdm - cd rdf && sdml draw --diagram entity-relationship -i $*.sdm -f svg -o $*-er.svg + sdml draw --diagram entity-relationship -i $< -f svg -o $@ $(ONTOLOGIES:%=rdf/%-uml.svg): rdf/%-uml.svg: rdf/%.sdm - cd rdf && sdml draw --diagram uml-class -i $*.sdm -f svg -o $*-uml.svg + sdml draw --diagram uml-class -i $< -f svg -o $@ $(ONTOLOGIES:%=rdf/%.rdf): rdf/%.rdf: rdf/%.sdm - cd rdf && sdml convert -i $*.sdm -f rdf -o $*.rdf --no-color + sdml convert -i $< -f rdf -o $@ --no-color $(ONTOLOGIES:%=rdfs-graf-of-%): rdfs-graf-of-%: rdf/%.sdm - sdml convert -f rdf -i $< --no-color | rdfs2dot | dot -Tx11 + sdml convert -f rdf -i $< --no-color | rdfs2dot | xdot - -- cgit v1.2.3