[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:30:28 +01:00
parent 65d92dadf4
commit 388732dfa6
8 changed files with 9 additions and 21 deletions
+9
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 .:.
@@ -1,3 +0,0 @@
analytic.css: analytic.sass
sass -t expanded analytic.sass analytic.css
-3
View File
@@ -1,3 +0,0 @@
dashboard.css: dashboard.sass
sass --trace -t expanded dashboard.sass dashboard.css
@@ -1,3 +0,0 @@
timesheet.css: timesheet.sass
sass -t expanded timesheet.sass timesheet.css
-3
View File
@@ -1,3 +0,0 @@
lunch.css: lunch.sass
sass -t expanded lunch.sass lunch.css
-3
View File
@@ -1,3 +0,0 @@
note.css: note.sass
sass --trace -t expanded note.sass note.css
-3
View File
@@ -1,3 +0,0 @@
base.css: base.sass
sass --trace -t expanded base.sass base.css
@@ -1,3 +0,0 @@
kanban.css: kanban.sass
sass -t expanded kanban.sass kanban.css