diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,11 +35,12 @@ prepare: $(patsubst %,learn/$(ONTOLOGIES_VERSION)/%.ttl,core tentacular) learn/$(ONTOLOGIES_VERSION)/%.ttl: learn/%.ttl mkdir --parents learn/0.1 - perl -p \ + perl -gp \ -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;' \ + -e 's,\n\s*owl:imports\s[^\n]+;(?=\n),,g;' \ < $< > $@ cal-all: cal-fetch cal-render cal-publish |