From 4e91b7f43850249adf115d40dfdb52483e82f747 Mon Sep 17 00:00:00 2001 From: David Seifried Date: Tue, 17 May 2011 16:41:28 -0400 Subject: [PATCH] Altered Makefile, adding a setup optin to be able to setup any git submodules, also added to make all --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 + -- 2.43.0