aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-08-29 17:36:54 +0200
committerJonas Smedegaard <dr@jones.dk>2024-08-29 17:36:54 +0200
commit9af3b07382c69fbd9253e6cae6211d756397c76f (patch)
treeda809da7194530af2d802105277d5809018e06ee
parentcf6c637d93a0330cc2b9fe55c441c5598086cef1 (diff)
tighten ontology mangling: use TAB for indentation
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7089f8b..a075a3b 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-e 's,\Q$(BASE_URI)stub/doap#,http://usefulinc.com/ns/doap#,g;' \
-e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \
-e 's/\n\h+owl:imports <[^>]+> ;//g;' \
+ -e 's/(?:\G|^)\s{4}/\t/gm;' \
< $< > $@
learn/%_sdm.qmd: learn/$(ONTOLOGIES_VERSION)/%.ttl