From f6b6b7cfbde7920021dff06dea1ded31e00da54b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 23 Oct 2015 14:14:50 +0200 Subject: Have all targets depend on Makefile (to regenerate if rules change. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7cabf80..036f22e 100644 --- a/Makefile +++ b/Makefile @@ -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 \ -- cgit v1.2.3