pelican-mg/Makefile

14 lines
243 B
Makefile
Raw Normal View History

2015-01-08 16:33:04 +00:00
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'