summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files 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 \