summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-23 20:05:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-23 20:05:42 -0400
commit876e2a906498c527cc2e447394bcdd6567dbd5be (patch)
treebb7f1efc703b7f228866ff7d02988a41a7f8a293
parent396fa731c8523c20235b560cfcd6d66d804bdd9f (diff)
downloadfork-ledger-876e2a906498c527cc2e447394bcdd6567dbd5be.tar.gz
fork-ledger-876e2a906498c527cc2e447394bcdd6567dbd5be.tar.bz2
fork-ledger-876e2a906498c527cc2e447394bcdd6567dbd5be.zip
Call out to git-submodule from acprep.
-rwxr-xr-xacprep4
1 files changed, 4 insertions, 0 deletions
diff --git a/acprep b/acprep
index 60e223d1..387ab065 100755
--- a/acprep
+++ b/acprep
@@ -8,6 +8,10 @@
# This script simply sets up the compiler and linker flags for all the various
# build permutations I use for testing and profiling.
+# Make sure that all of the dependencies are available
+git submodule init
+git submodule update
+
COMMIT=$(git describe --all --long | sed 's/heads\///')
echo "m4_define([VERSION_NUMBER], [$COMMIT])" > version.m4