From c9c8c47c28bbd5b7c78d23f669bcd5461a99ccb9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 20 Apr 2011 16:13:32 +0200 Subject: Improve build routines, and separate reusable rules as include.mk. --- Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 06b3c30..a9de6e0 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3