From 83cd9369f4e6e617f796910dc459b82f75a46683 Mon Sep 17 00:00:00 2001 From: David Seifried Date: Wed, 18 May 2011 12:35:01 -0400 Subject: [PATCH] Seperated submodule updating and initializing, complete now depends on update --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3cd707d..e88b4c3 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ ${PLAYERS_DIST}: ${PLAYERS_SRC} ${DIST_DIR} @@echo "Building ${PLAYERS_DIST}" @@cat ${PLAYERS_SRC} > ${PLAYERS_DIST} -complete: ${POPCORN_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} ${DIST_DIR} +complete: ${POPCORN_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} ${DIST_DIR} update @@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}) @@ -146,8 +146,11 @@ SEQUENCE_SRC = ${PLAYERS_DIR}/sequence/popcorn.sequence.js setup: ${SEQUENCE_SRC} +update: + @@echo "Updating submodules..." + @@git submodule update + ${SEQUENCE_SRC}: - @@echo "Setting-up sequence submodule..." + @@echo "Setting-up submodules..." @@git submodule init - @@git submodule update -- 2.43.0