From: Jon Buckley Date: Mon, 26 Sep 2011 19:37:13 +0000 (-0400) Subject: Update and move sequence submodule. Slim Makefile X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6bbf24a8429ade31db2b26e1d0a0ed69f38ff5d3;p=popcorn-js.git Update and move sequence submodule. Slim Makefile --- diff --git a/.gitmodules b/.gitmodules index 66ee9ee..200a218 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ -[submodule "players/sequence"] - path = players/sequence - url = git://github.com/rwldrn/popcorn.sequence.git + +[submodule "modules/sequence"] + path = modules/sequence + url = https://github.com/rwldrn/popcorn.sequence.git diff --git a/Makefile b/Makefile index f5c0682..ee6e4d1 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ ${POPCORN_MIN}: ${POPCORN_DIST} @@$(call add_license, $(POPCORN_MIN)) @@$(call add_version, $(POPCORN_MIN)) -${POPCORN_COMPLETE_MIN}: update ${POPCORN_SRC} ${MODULES_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} $(EFFECTS_SRC) ${DIST_DIR} +${POPCORN_COMPLETE_MIN}: setup ${POPCORN_SRC} ${MODULES_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} $(EFFECTS_SRC) ${DIST_DIR} @@echo "Building" ${POPCORN_COMPLETE_MIN} @@$(call compile, $(POPCORN_COMPLETE_LIST), $(POPCORN_COMPLETE_MIN)) @@$(call add_license, $(POPCORN_COMPLETE_MIN)) @@ -179,7 +179,7 @@ $(EFFECTS_DIST): $(EFFECTS_SRC) $(DIST_DIR) @@echo "Building $(EFFECTS_DIST)" @@cat $(EFFECTS_SRC) > $(EFFECTS_DIST) -complete: update ${POPCORN_SRC} ${MODULES_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} $(EFFECTS_SRC) ${DIST_DIR} +complete: setup ${POPCORN_SRC} ${MODULES_SRC} ${PARSERS_SRC} ${PLUGINS_SRC} ${PLAYERS_SRC} $(EFFECTS_SRC) ${DIST_DIR} @@echo "Building popcorn + modules + plugins + parsers + players + effects..." @@cat ${POPCORN_SRC} ${MODULES_SRC} ${PLUGINS_SRC} ${PARSERS_SRC} ${PLAYERS_SRC} $(EFFECTS_SRC) > $(POPCORN_COMPLETE_DIST) @@$(call add_license, $(POPCORN_COMPLETE_DIST)) @@ -264,16 +264,6 @@ 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} update - -update: +setup: @@echo "Updating submodules..." - @@git submodule update - @@cd players/sequence; git pull origin master - -${SEQUENCE_SRC}: - @@echo "Setting-up submodules..." - @@git submodule init + @@git submodule update --init diff --git a/modules/sequence b/modules/sequence new file mode 160000 index 0000000..45ec9d6 --- /dev/null +++ b/modules/sequence @@ -0,0 +1 @@ +Subproject commit 45ec9d69ae770a3b221d4ba8b935ae19c76cb34f diff --git a/players/sequence b/players/sequence deleted file mode 160000 index 01eb7df..0000000 --- a/players/sequence +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 01eb7df20bc9e58c9cab108789f7b4ea7c347925