summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-02-02 20:57:25 +0100
committerJonas Smedegaard <dr@jones.dk>2013-10-12 21:04:31 +0200
commit3eb75bb8ff2a44f9b4c203cbcff3b317524496ca (patch)
tree2ff8ced9c8d41f023457bdffc97152db00b4a521
parent82abeea69986d63a66e5250242591d587cdd6b6e (diff)
Add default theme as sass includedir.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54d147f..73279ff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
sassfiles = $(filter-out _%,$(wildcard */*.scss))
cssfiles = $(sassfiles:scss=css)
+sass_includes = default
+
all: $(cssfiles)
%.css: %.scss
- sass --style expanded $< $@
+ sass $(sass_includes:%=-I %) --style expanded $< $@
perl -i -pe 's/ /\t/g' $@
clean: