diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-02-01 14:18:05 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-12 18:10:50 +0200 |
commit | 07e6e7fdeb1d4220045991d9b8d6d9b32ebf9402 (patch) | |
tree | 0221d2e154b090c5dc38c3422e1d49a437187154 | |
parent | 5c9571c9472658bf104d715b53844cb4d527b395 (diff) |
Add makefile to generate CSS from Sass.
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cb05cb0 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +sassfiles = $(wildcard */*.scss) +cssfiles = $(sassfiles:scss=css) + +all: $(cssfiles) + +%.css: %.scss + sass --style expanded $< $@ + perl -i -pe 's/ /\t/g' $@ + +clean: + rm -f $(cssfiles) + rm -rf .sass-cache + +.PHONY: clean |