summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-28 13:43:25 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:42 +0200
commit22190cdf6f6d320a45ccce115810da076db73b09 (patch)
tree219993d96ef2b1f24b368a7bfdf29a3ea96b18fe
parenta76126f0e084535c087dce5f3b9a5a08aac9c677 (diff)
fix learn ontology versioning
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0081e6c..6618d3b 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,7 @@ learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl
-e 's,\b$(subst tentacular,learn10tac,$(subst core,learn,$*)):,:,g;' \
-e 's,\Q$(BASE_URI)stub/foaf#,http://xmlns.com/foaf/0.1/,g;' \
-e 's,\Q$(BASE_URI)stub/doap#,http://usefulinc.com/ns/doap#,g;' \
+ -e 's,purl\.org/learn/\K(?=[^\d]),$(ONTOLOGIES_VERSION)/,g;' \
< $< > $@
cal-all: cal-fetch cal-render cal-publish