aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-08-29 17:38:07 +0200
committerJonas Smedegaard <dr@jones.dk>2024-08-29 17:38:07 +0200
commitf2bf2b72b4dcc25da1513828345482a92f789b5e (patch)
tree134e74834933947a8fac6294071931ecf8c4fe53 /Makefile
parent9af3b07382c69fbd9253e6cae6211d756397c76f (diff)
tighten ontology mangling: strip excess tailing whitepspace
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a075a3b..8aa5a31 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \
-e 's/\n\h+owl:imports <[^>]+> ;//g;' \
-e 's/(?:\G|^)\s{4}/\t/gm;' \
+ -e 's/\s+$$/\n/;' \
< $< > $@
learn/%_sdm.qmd: learn/$(ONTOLOGIES_VERSION)/%.ttl