diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-02-28 11:54:38 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-02-28 11:54:38 +0100 |
commit | 48cdac023775e3d5415d92368a662a89fa98a1c8 (patch) | |
tree | 90fe167db81f65c753d21c6d1e525fb180511dc8 /Makefile | |
parent | e5897ee6e7cd9cca8d98f55800dba8cdb0854e93 (diff) |
use sassc (not scss a.k.a. ruby-sass)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |