From 48cdac023775e3d5415d92368a662a89fa98a1c8 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 28 Feb 2020 11:54:38 +0100 Subject: use sassc (not scss a.k.a. ruby-sass) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3