git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detec...
[jquery.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
4dcc9e3
..
bf41bcc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,6
+9,7
@@
DIST_DIR = ${PREFIX}/dist
JS_ENGINE ?= `which node nodejs`
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
JS_ENGINE ?= `which node nodejs`
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
+POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js
BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/support.js\
BASE_FILES = ${SRC_DIR}/core.js\
${SRC_DIR}/support.js\
@@
-106,9
+107,8
@@
${JQ_MIN}: jquery
@@if test ! -z ${JS_ENGINE}; then \
echo "Minifying jQuery" ${JQ_MIN}; \
${COMPILER} ${JQ} > ${JQ_MIN}.tmp; \
@@if test ! -z ${JS_ENGINE}; then \
echo "Minifying jQuery" ${JQ_MIN}; \
${COMPILER} ${JQ} > ${JQ_MIN}.tmp; \
- echo ";" >> ${JQ_MIN}.tmp; \
- sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN}; \
- rm -rf ${JQ_MIN}.tmp; \
+ ${POST_COMPILER} ${JQ_MIN}.tmp > ${JQ_MIN}; \
+ rm -f ${JQ_MIN}.tmp; \
else \
echo "You must have NodeJS installed in order to minify jQuery."; \
fi
else \
echo "You must have NodeJS installed in order to minify jQuery."; \
fi