summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-03-28 15:34:07 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:29:22 +0200
commitc6d110cb9bd01ad3435958d2607ac45ed136a6a2 (patch)
treebbba83181558a064076c388c3bf75c5326bbc416
parent3920d82e02f19aec89ff04577682f94ae4dcefcf (diff)
Use compass (not sass) to compile.
-rw-r--r--include.mk4
1 files 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)