aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-26 21:49:18 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-26 21:49:32 +0200
commit403889087e41efe94d4c7f788a35ebbd714f3666 (patch)
tree22c7304e3616a4fb557935263dfcbad09b6b0286 /Makefile
parentcb98a28e874e8890ceb3ba9836c7fe1a59c89cf0 (diff)
initial draft SDML-based learning ontologylearn-v0.0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index df04b93..ec7e1a8 100644
--- a/Makefile
+++ b/Makefile
@@ -145,3 +145,15 @@ $(ARTICLES:%=%/b.tex): %/b.tex:
quarto render $*/index.qmd --to pdf -M keep-tex:true --output b.pdf
mv --force $*/index.tex $@
rm --force _site/b.pdf
+
+rdf/learning.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram concepts -i learning.sdm -f svg -o learning.svg
+
+rdf/learning-er.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram entity-relationship -i learning.sdm -f svg -o learning-er.svg
+
+rdf/learning-uml.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram uml-class -i learning.sdm -f svg -o learning-uml.svg
+
+rdf/learning.rdf: rdf/learning.sdm
+ cd rdf && sdml convert -i learning.sdm -f rdf -o learning.rdf --no-color