aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 24a7ef9..397a39b 100644
--- a/Makefile
+++ b/Makefile
@@ -184,6 +184,9 @@ $(ARTICLES:%=%/b.tex): %/b.tex:
%.ttl: %.sdm
sdml --no-color convert -i $< -f rdf -o $@
+# TODO: drop workaround when SDML renders syntactically correct datatype
+# <https://github.com/sdm-lang/rust-sdml/issues/9>
+ perl -pi -e 's/\\"([^\\"]*)\\"(?="\^\^xsd:date\b)/$$1/g;' $@
%/core.puml: %/core.ttl %/prefixes.ttl
rdfpuml $<