summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7ac3afc..9849fe8 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ $(vectorimage-graph): %.svg: %.dot Makefile
%.html %/index.html: %.mdwn $(hypertext-snippets) Makefile
$(if $(filter-out ./,$(dir $@)),mkdir -p $(dir $@))
- pandoc -s -c /style.css -B topbar.html -A footer.html -f markdown -t html -o $@ $<
+ pandoc -s -c $(shell realpath --relative-to=$(dir $@) style.css) -B topbar.html -A footer.html -f markdown -t html -o $@ $<
%.css : %.scss Makefile
scss --compass --style compressed $< $@