From 8e0aff1988f82c75147870cc10978bdd5ecc1377 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Mon, 21 Mar 2016 17:52:43 +0000 Subject: [PATCH] Detect coffee modification --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e84762d0..f254c4fa7 100644 --- a/Makefile +++ b/Makefile @@ -260,7 +260,9 @@ all: configure common handler manager portal configure: json common_conf handler_conf portal_conf manager_conf -minify: $(JSDSTFILES) $(CSSDSTFILES) +js: $(COFFEEDSTFILES) + +minify: js $(JSDSTFILES) $(CSSDSTFILES) $(SRCMANAGERDIR)/site/static/js/%.js: $(SRCMANAGERDIR)/site/coffee/%.coffee @if which coffee >/dev/null; then \