summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-02-03 20:01:00 +0100
committerJonas Smedegaard <dr@jones.dk>2011-02-03 20:01:00 +0100
commit88a89c4fc20d32e145238bd682fd761f4606604c (patch)
treec4ac4ea3b3a5ef23b50b8d25f2c68b55f702b417
parentb378a855006a69bcd146e0204a2f656f9a19a656 (diff)
Fix init submodules before config or content.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8e88c21..b7c76be 100644
--- a/Makefile
+++ b/Makefile
@@ -14,11 +14,11 @@ submodules:
git submodule init
git submodule update --init --recursive
-config:
+config: submodules
mkdir -p "$@"
[ -e "$@/ikiwiki.setup" ] || ikiwiki $(IKIWIKI_OPTIONS) --dumpsetup "$@/ikiwiki.setup"
-content:
+content: submodules
mkdir -p "$@"
[ -e "$@/index.mdwn" ] || printf "# Hello world!\n\nHello world!\n" > "$@/index.mdwn"