From: David Humphrey Date: Thu, 21 Apr 2011 22:20:38 +0000 (-0400) Subject: Add license to dist/popcorn-complete.js X-Git-Tag: v0.5.1~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=af00ad90905af04426b17deaf049da114298d736;p=popcorn-js.git Add license to dist/popcorn-complete.js --- diff --git a/Makefile b/Makefile index e8a2c9c..611374e 100644 --- a/Makefile +++ b/Makefile @@ -116,8 +116,10 @@ ${PLAYERS_DIST}: ${PLAYERS_SRC} ${DIST_DIR} @@cat ${PLAYERS_SRC} > ${PLAYERS_DIST} complete: ${POPCORN_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} ${DIST_DIR} - @@echo "Building popcorn + plugins + parsers + players" - @@cat ${POPCORN_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} ${PLAYERS_SRC} | sed -e 's/@VERSION/${VERSION}/' > ${POPCORN_COMPLETE_DIST} + @@echo "Building popcorn + plugins + parsers + players..." + @@cat ${POPCORN_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} ${PLAYERS_SRC} > ${POPCORN_COMPLETE_DIST}.tmp + @@$(call add_license, ${POPCORN_COMPLETE_DIST}.tmp, ${POPCORN_COMPLETE_DIST}) + @@rm ${POPCORN_COMPLETE_DIST}.tmp lint: @@echo "Checking Popcorn against JSLint..."