summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-03-02 18:22:24 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-03-02 18:22:24 -0500
commit16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51 (patch)
tree0d74b06b4bf5c0d2ee8441ee6f9ea1220556261d /Makefile
parent1596e91887b42816dae412c77e17d2979e2e4cd4 (diff)
downloadhtml5ks-16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51.tar.xz
html5ks-16dfcbc412b3e6e3afbc4bcb2089323fd11a6d51.zip
don't include uglifyjs in uglifyjs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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