aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-22 09:56:58 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:42 +0200
commit215e598943d19b675903fce5733d1a7940f24d61 (patch)
tree48b1098f9a934da7f63179249b3d24474085c0dd
parent66304bcb5b8809ab8d4fc8429601550c50195671 (diff)
fix avoid web rendering of ontology overwriting ontology source files
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9a9d649..55b24a0 100644
--- a/Makefile
+++ b/Makefile
@@ -179,9 +179,9 @@ ex/%.png: ex/%.puml
ex/%.svg: ex/%.puml
plantuml -tsvg $<
-%/index.html: %/core.ttl
- mkdir --parents $*
- ontospy gendocs --type 2 -x -o $(CURDIR)/$* $<
+%/docs/index.html: %/core.ttl
+ mkdir --parents $*/docs
+ ontospy gendocs --type 2 -x -o $(CURDIR)/$*/docs $<
$(ONTOLOGIES:%=view-%-concept-diagram): view-%-concept-diagram: %/concepts.svg
inkview $<
@@ -202,4 +202,4 @@ $(ONTOLOGIES:%=view-%-puml-diagram): view-%-puml-diagram: %/core.png
$(GRAPHS:%=view-%-puml-diagram): view-%-puml-diagram: ex/%.png
imv-wayland $<
-$(ONTOLOGIES:%=render-%-ontology): render-%-ontology: %/index.html
+$(ONTOLOGIES:%=render-%-ontology): render-%-ontology: %/docs/index.html