From e5897ee6e7cd9cca8d98f55800dba8cdb0854e93 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 3 Oct 2018 11:10:48 +0200 Subject: Fix use relative path to stylesheet. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $< $@ -- cgit v1.2.3