[IMP] *: one Makefile to rules them all.

Create one unique generic Makefile to compile sass files.
This commit is contained in:
Christophe Simonis 2014-11-05 19:15:14 +01:00
parent 65d92dadf4
commit 388732dfa6
8 changed files with 9 additions and 21 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
# NOTE: please keep your version of sass up to date: sudo gem update
.PHONY: watch css
SASS_FILES=$(wildcard addons/*/static/src/css/*.sass openerp/addons/*/static/src/css/*.sass)
CSS_FILES=$(patsubst %.sass,%.css,${SASS_FILES})
css: ${CSS_FILES}
%.css: %.sass
sass -t expanded --compass --unix-newlines --sourcemap=none $< $@
watch:
sass -t expanded --compass --unix-newlines --sourcemap=none --watch .:.

View File

@ -1,3 +0,0 @@
analytic.css: analytic.sass
sass -t expanded analytic.sass analytic.css

View File

@ -1,3 +0,0 @@
dashboard.css: dashboard.sass
sass --trace -t expanded dashboard.sass dashboard.css

View File

@ -1,3 +0,0 @@
timesheet.css: timesheet.sass
sass -t expanded timesheet.sass timesheet.css

View File

@ -1,3 +0,0 @@
lunch.css: lunch.sass
sass -t expanded lunch.sass lunch.css

View File

@ -1,3 +0,0 @@
note.css: note.sass
sass --trace -t expanded note.sass note.css

View File

@ -1,3 +0,0 @@
base.css: base.sass
sass --trace -t expanded base.sass base.css

View File

@ -1,3 +0,0 @@
kanban.css: kanban.sass
sass -t expanded kanban.sass kanban.css