summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-10-03 11:10:48 +0200
committerJonas Smedegaard <dr@jones.dk>2018-10-03 11:10:48 +0200
commite5897ee6e7cd9cca8d98f55800dba8cdb0854e93 (patch)
tree68ada80985ea792924e137907af481bda174950a
parent20f4ce4fb03149796e95013dba62369adc18d87f (diff)
Fix use relative path to stylesheet.HEADmaster
-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 $< $@