summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)