aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-10-10 23:28:30 -0400
committerjeresig <jeresig@gmail.com>2010-10-10 23:28:30 -0400
commit2c04035cd1d7cb1e73c6e9b2d63fc77e5165b8fc (patch)
treec8ce0393ca9f448b5c4d9be5a12e113b3c1b3e31 /Makefile
parent71a58263ec9e942410b36680eddcafaabe537c07 (diff)
downloadjquery-2c04035cd1d7cb1e73c6e9b2d63fc77e5165b8fc.tar.gz
jquery-2c04035cd1d7cb1e73c6e9b2d63fc77e5165b8fc.zip
Fix broken min file header generation.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ce92f4ffb..a236ed0a5 100644
--- a/Makefile
+++ b/Makefile
@@ -97,8 +97,10 @@ min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
- @@head -$(shell grep -m 1 -n '*/' ${JQ} | cut -f1 -d:) ${JQ} > ${JQ_MIN}
- @@${MINJAR} --js ${JQ} --warning_level QUIET --js_output_file ${JQ_MIN}
+ @@head -15 ${JQ} > ${JQ_MIN}
+ @@${MINJAR} --js ${JQ} --warning_level QUIET --js_output_file ${JQ_MIN}.tmp
+ @@cat ${JQ_MIN}.tmp >> ${JQ_MIN}
+ @@rm -f ${JQ_MIN}.tmp
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}