pelican-mg/Makefile
2015-01-08 17:33:04 +01:00

14 lines
243 B
Makefile

SCSSDIR ?= scss
CSSDIR = static/css
sass:
@for i in $$(ls $(SCSSDIR)); do \
out="$(CSSDIR)/$${i%.*}.css"; \
sass "$(SCSSDIR)/$$i" "$$out"; \
sed -i '$$d' "$$out"; \
rm "$$out.map"; \
done
@echo 'SCSS files compiled'