]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Update and move sequence submodule. Slim Makefile
authorJon Buckley <jon@jbuckley.ca>
Mon, 26 Sep 2011 19:37:13 +0000 (15:37 -0400)
committerJon Buckley <jon@jbuckley.ca>
Mon, 26 Sep 2011 19:37:13 +0000 (15:37 -0400)
.gitmodules
Makefile
modules/sequence [new submodule]
players/sequence [deleted submodule]

index 66ee9ee5e0405be11a1b0737a443cb4f13f2efbc..200a218a560548bf7a520a6ebc95266c58ba13ff 100644 (file)
@@ -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
index f5c06826ec59a80d67c6bb5d76aad979ab590e74..ee6e4d10d7e32e5fa6cd5ced68550f7fd68fa30d 100644 (file)
--- 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 (submodule)
index 0000000..45ec9d6
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 45ec9d69ae770a3b221d4ba8b935ae19c76cb34f
diff --git a/players/sequence b/players/sequence
deleted file mode 160000 (submodule)
index 01eb7df..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 01eb7df20bc9e58c9cab108789f7b4ea7c347925