[IMP] web: generic sass/css Makefile
authorChristophe Simonis <chs@openerp.com>
Thu, 13 Feb 2014 14:28:42 +0000 (15:28 +0100)
committerChristophe Simonis <chs@openerp.com>
Thu, 13 Feb 2014 14:28:42 +0000 (15:28 +0100)
bzr revid: chs@openerp.com-20140213142842-u7r5axxewqjfsd1c

addons/web/static/src/css/Makefile

index f4f1f6d..ba88946 100644 (file)
@@ -1,2 +1,5 @@
-sass:
-       sass -t expanded --compass --unix-newlines --watch base.sass:base.css&
\ No newline at end of file
+all: *.css
+%.css: %.sass
+       sass -t expanded --compass --unix-newlines $< $@
+watch:
+       sass -t expanded --compass --unix-newlines --watch .:.