From 16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sun, 2 Mar 2014 18:22:24 -0500 Subject: don't include uglifyjs in uglifyjs --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fd708a2..ab02026 100644 --- a/Makefile +++ b/Makefile @@ -168,12 +168,12 @@ $(JSOUT): $(JS) endif endif ifdef PACKR - $(PACKR) $^ -o "$@" + $(PACKR) $(JS) -o "$@" else ifdef CLOSURE_COMPILER - $(CLOSURE_COMPILER) --compilation_level SIMPLE_OPTIMIZATIONS --create_source_map "$@".map --js $(subst $(SPACE), --js ,$^) --js_output_file "$@" + $(CLOSURE_COMPILER) --compilation_level SIMPLE_OPTIMIZATIONS --create_source_map "$@".map --js $(subst $(SPACE), --js ,$(JS)) --js_output_file "$@" else - $(UGLIFYJS) $^ -o "$@" --source-map "$@".map --source-map-url ./all.min.js.map --screw-ie8 -p 2 -m -c unsafe=true,drop_debugger=false + $(UGLIFYJS) $(JS) -o "$@" --source-map "$@".map --source-map-url ./all.min.js.map --screw-ie8 -p 2 -m -c unsafe=true,drop_debugger=false endif endif -- cgit v1.2.3-54-g00ecf