From c6d110cb9bd01ad3435958d2607ac45ed136a6a2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 28 Mar 2011 15:34:07 +0200 Subject: Use compass (not sass) to compile. --- include.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include.mk b/include.mk index 6c41050..62f1aa1 100644 --- a/include.mk +++ b/include.mk @@ -4,11 +4,11 @@ cssprojectinfiles = $(foreach file,$(if $1,$(shell find $1 -name '*.scss')),$(if cssprojectoutfiles = $(patsubst %.scss,%.css,$(call cssprojectinfiles,$1)) $(cssprojects): - sass --update --stop-on-error$(if $(beautify), --style expanded)$(if $(finalize),, --debug-info)$(if $(always-make), --force) $@ + compass compile$(if $(wildcard $@/config.rb),, --sass-dir= --css-dir= --images-dir= --javascripts-dir= --fonts-dir= --relative-assets)$(if $(beautify), --output-style expanded) $(if $(finalize),-e production,--debug-info)$(if $(always-make), --force) $@ $(if $(beautify),perl -i -pe 's/ /\t/g' $(call cssprojectoutfiles,$@)) clean:: rm -f $(call cssprojectoutfiles,$(cssprojects)) - rm -rf .sass-cache + rm -rf $(cssprojects:=/.sass-cache) .PHONY: clean $(cssprojects) -- cgit v1.2.3