summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-02-28 11:54:38 +0100
committerJonas Smedegaard <dr@jones.dk>2020-02-28 11:54:38 +0100
commit48cdac023775e3d5415d92368a662a89fa98a1c8 (patch)
tree90fe167db81f65c753d21c6d1e525fb180511dc8
parente5897ee6e7cd9cca8d98f55800dba8cdb0854e93 (diff)
use sassc (not scss a.k.a. ruby-sass)
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9849fe8..87a0d32 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ hypertext = $(subst index/index,index,$(markdown:%.mdwn=%/index.html))
graph := $(wildcard *.dot */*.dot */*/*.dot)
vectorimage-graph := $(graph:%.dot=%.svg)
+compass_plugins = h5bp
+
all: $(hypertext) $(vectorimage-graph) style.css
update: .git
@@ -23,7 +25,7 @@ $(vectorimage-graph): %.svg: %.dot Makefile
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 $< $@
+ sassc --load-path /usr/share/sass/stylesheets $(compass_plugins:%=--load-path /usr/share/compass/frameworks/%/stylesheets) --style compressed $< $@
clean:
rm -f $(vectorimage-graph)