summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9e6831fd50eafdedb36c09f6afc41c3f7705ebd0 (plain)
  1. styledirs ?= styles
  2. #beautify = yes
  3. #finalize = yes
  4. css: $(styledirs)
  5. $(styledirs):
  6. # sass --update --stop-on-error $(if $(beautify),--style expanded) $@
  7. compass compile --sass-dir= --css-dir= --relative-assets$(if $(beautify), --output-style expanded)$(if $(finalize), -e production) $@
  8. $(if $(beautify),perl -i -pe 's/ /\t/g' $(shell find $@ -name '*.css'))
  9. .PHONY: css $(styledirs)