X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=Makefile;h=45d2764e55699e8712589751be1ce14bc059e37d;hb=4fd6ef4adbf15abdb52f2268548b2abc9979d415;hp=4dcc9e35e9e5a7ac0451b4400cf234a78277b873;hpb=2c290709d867ffd54b0011373de292b8e86a3509;p=jquery.git diff --git a/Makefile b/Makefile index 4dcc9e3..45d2764 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ ${SRC_DIR}/selector.js: ${SIZZLE_DIR}/sizzle.js lint: jquery @@if test ! -z ${JS_ENGINE}; then \ echo "Checking jQuery against JSLint..."; \ - ${JS_ENGINE} build/jslint-check.js; \ + ${JS_ENGINE} build/jslint-check.js ${JQ}; \ else \ echo "You must have NodeJS installed in order to test jQuery against JSLint."; \ fi @@ -106,8 +106,7 @@ ${JQ_MIN}: jquery @@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}; \ + sed '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN}.tmp > ${JQ_MIN}; \ rm -rf ${JQ_MIN}.tmp; \ else \ echo "You must have NodeJS installed in order to minify jQuery."; \