diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-04-20 16:13:32 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-12 21:48:50 +0200 |
commit | c9c8c47c28bbd5b7c78d23f669bcd5461a99ccb9 (patch) | |
tree | 107237f77106e625153e426f02dd0c67a6366267 /Makefile | |
parent | 327aa644eaf597429d84d7d0609d891689e149c4 (diff) |
Improve build routines, and separate reusable rules as include.mk.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,14 +1,9 @@ -sassfiles = $(filter-out $(wildcard */_*.scss),$(wildcard */*.scss)) -cssfiles = $(sassfiles:scss=css) +cssprojects ?= default blueview actiontabs -all: $(cssfiles) +beautify ?= yes -%.css: %.scss - sass --style expanded $< $@ - perl -i -pe 's/ /\t/g' $@ +all: $(cssprojects) -clean: - rm -f $(cssfiles) - rm -rf .sass-cache +include include.mk -.PHONY: clean +.PHONY: all |