]> source.dussan.org Git - jquery.git/commitdiff
Changing dependice order for minify to prevent reminify
authorCarl Fürstenberg <azatoth@gmail.com>
Fri, 4 Mar 2011 22:33:20 +0000 (23:33 +0100)
committerCarl Fürstenberg <azatoth@gmail.com>
Wed, 16 Mar 2011 00:44:05 +0000 (01:44 +0100)
unless jquery.js has been updated, no minification should occur

closes: #8519

Makefile

index 84816a19e1cfcd7b6bb79cc078881b7a1bea6384..7b87c9f51b0f445f0aef1f19aaeb6d0533f58285 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,9 +75,9 @@ lint: jquery
                echo "You must have NodeJS installed in order to test jQuery against JSLint."; \
        fi
 
-min: ${JQ_MIN}
+min: jquery ${JQ_MIN}
 
-${JQ_MIN}: jquery
+${JQ_MIN}: ${JQ}
        @@if test ! -z ${JS_ENGINE}; then \
                echo "Minifying jQuery" ${JQ_MIN}; \
                ${COMPILER} ${JQ} > ${JQ_MIN}.tmp; \