diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-02 18:22:24 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-02 18:22:24 -0500 |
commit | 16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51 (patch) | |
tree | 0d74b06b4bf5c0d2ee8441ee6f9ea1220556261d | |
parent | 1596e91887b42816dae412c77e17d2979e2e4cd4 (diff) | |
download | html5ks-16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51.tar.xz html5ks-16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51.zip |
don't include uglifyjs in uglifyjs
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |