Skip to content

Commit

Permalink
Fix broken min file header generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Oct 11, 2010
1 parent 71a5826 commit 2c04035
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 2c04035

Please sign in to comment.