diff options
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 - |