diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -224,9 +224,13 @@ $(ARTICLES:%=%/b.tex): %/b.tex: %.ttl: %.sdm sdml --no-color convert -i $< -f rdf -o $@ -# TODO: drop workaround when SDML renders syntactically correct datatype +# TODO: drop workarounds when SDML renders syntactically correct Turtle # <https://github.com/sdm-lang/rust-sdml/issues/9> - perl -pi -e 's/\\"([^\\"]*)\\"(?="\^\^xsd:date\b)/$$1/g;' $@ +# <https://github.com/sdm-lang/rust-sdml/issues/11> + perl -pi \ + -e 's/\\"([^\\"]*)\\"(?="\^\^xsd:date\b)/$$1/g;' \ + -e 's/sdml:srcLabel\s+\K\S+/"$$&"/g;' \ + $@ %/core.puml: %/core.ttl %/prefixes.ttl rdfpuml $< |