diff options
Diffstat (limited to 'include.mk')
-rw-r--r-- | include.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,8 +1,10 @@ +always-make = $(filter -B,$(MAKEFLAGS)) + cssprojectinfiles = $(foreach file,$(if $1,$(shell find $1 -name '*.scss')),$(if $(filter-out _%,$(notdir $(file))),$(file))) cssprojectoutfiles = $(patsubst %.scss,%.css,$(call cssprojectinfiles,$1)) $(cssprojects): - sass --update --stop-on-error $(if $(beautify),--style expanded) $@ + sass --update --stop-on-error$(if $(beautify), --style expanded)$(if $(always-make), --force) $@ $(if $(beautify),perl -i -pe 's/ /\t/g' $(call cssprojectoutfiles,$@)) clean:: |