summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 0065e1af..a0db5d70 100644
--- a/common.mk
+++ b/common.mk
@@ -1,9 +1,10 @@
topdir := $(dir $(lastword $(MAKEFILE_LIST)))
www = $(topdir)/../web-cache/www
-JSMIN = cp $1 $2
+#JSMIN = cp $1 $2
#JSMIN = compiler $1
#JSMIN = uglify-js -nc $1 > $2
+JSMIN = { sed -n '1,/\*\//p' $1; closure-compiler --js $1; } > $2
%.min.js: %.js
$(call JSMIN,$<,$@)