build: remove reference to dist/jquery.js from build/
[jquery.git] / Makefile
index 4dcc9e3..45d2764 100644 (file)
--- 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."; \