From: David Seifried Date: Tue, 17 May 2011 20:41:28 +0000 (-0400) Subject: Altered Makefile, adding a setup optin to be able to setup any git submodules, also... X-Git-Tag: v0.6~2^2~2^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4e91b7f43850249adf115d40dfdb52483e82f747;p=popcorn-js.git Altered Makefile, adding a setup optin to be able to setup any git submodules, also added to make all --- diff --git a/Makefile b/Makefile index 611374e..3cd707d 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ POPCORN_COMPLETE_MIN = ${DIST_DIR}/popcorn-complete.min.js add_license = cat ${PREFIX}/LICENSE_HEADER | sed -e 's/@VERSION/${VERSION}/' > $(2) ; \ cat $(1) >> $(2) -all: lint lint-plugins lint-parsers lint-players popcorn plugins parsers players complete min +all: setup lint lint-plugins lint-parsers lint-players popcorn plugins parsers players complete min @@echo "Popcorn build complete." ${DIST_DIR}: @@ -140,3 +140,14 @@ lint-players: clean: @@echo "Removing Distribution directory:" ${DIST_DIR} @@rm -rf ${DIST_DIR} + +# Setup any git submodules we need +SEQUENCE_SRC = ${PLAYERS_DIR}/sequence/popcorn.sequence.js + +setup: ${SEQUENCE_SRC} + +${SEQUENCE_SRC}: + @@echo "Setting-up sequence submodule..." + @@git submodule init + @@git submodule update +