diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -25,17 +25,17 @@ all: $(textfiles) $(rdfxmlfiles) $(htmlfiles) clean: rm -rf build -$(turtlefiles): build/%/index.ttl : data/%.ttl +$(turtlefiles): build/%/index.ttl : data/%.ttl Makefile mkdir -p $(dir $@) cp $< $@ # $(eval base = $(call getbase, $<)) # rapper $(base:%=-I "%") -i turtle -o turtle "$<" > "$@" # perl -i -pe 's/ {4}/\t/g' "$@" -$(textfiles): %.txt : %.ttl +$(textfiles): %.txt : %.ttl Makefile ln -fs $(notdir $<) $@ -$(rdfxmlfiles): %.rdf : %.ttl +$(rdfxmlfiles): %.rdf : %.ttl Makefile $(eval base = $(call getbase, $<)) rapper $(base:%=-I "%") -i turtle -o rdfxml-abbrev "$<" > "$@" @@ -43,7 +43,7 @@ $(rdfxmlfiles): %.rdf : %.ttl # * add doctype and title to validate # * add charset to not rely on server hinting # * refer to plaintext serialization (not self) of dataset -$(htmlprogrammefiles): %.html : %.ttl +$(htmlprogrammefiles): %.html : %.ttl Makefile $(eval base = $(call getbase, $<)) wget -O"$@" "http://programme.ecs.soton.ac.uk/tool.php?src=$(base)" perl -pi -0 \ |