Update makefile to uglify2

This commit is contained in:
Tom MacWright
2012-12-05 12:49:25 -05:00
parent 36f4ef2533
commit fbe56c795e

View File

@@ -36,12 +36,11 @@ all: \
iD.js: Makefile
@rm -f $@
cat $(filter %.js,$^) | $(JS_BEAUTIFIER) > $@
@chmod a-w $@
cat $(filter %.js,$^) > $@
%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) < $< > $@
$(JS_COMPILER) $< -o $@
clean:
rm -f iD*.js