mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix broken min file header generation.
This commit is contained in:
parent
71a58263ec
commit
2c04035cd1
6
Makefile
6
Makefile
@ -97,8 +97,10 @@ min: ${JQ_MIN}
|
|||||||
${JQ_MIN}: ${JQ}
|
${JQ_MIN}: ${JQ}
|
||||||
@@echo "Building" ${JQ_MIN}
|
@@echo "Building" ${JQ_MIN}
|
||||||
|
|
||||||
@@head -$(shell grep -m 1 -n '*/' ${JQ} | cut -f1 -d:) ${JQ} > ${JQ_MIN}
|
@@head -15 ${JQ} > ${JQ_MIN}
|
||||||
@@${MINJAR} --js ${JQ} --warning_level QUIET --js_output_file ${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:
|
clean:
|
||||||
@@echo "Removing Distribution directory:" ${DIST_DIR}
|
@@echo "Removing Distribution directory:" ${DIST_DIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user