Browse files Implement script which runs

autoreconf -f -i
git submodule init
git dubmodule update
so we don't need to run them one by one manually.
  • Loading branch information...
1 parent a8f1306 commit c7bb4ada0a6cbaf944dde9efd946e52a01845ec1 @matthiaskrgr matthiaskrgr committed May 29, 2012
Showing with 20 additions and 7 deletions.
  1. +3 −7 INSTALL
  2. +17 −0
@@ -32,14 +32,10 @@ GLM is a header only library that you can get from if you
If you got the source directly from the Gource.git repository, you will first
-need to run autoreconf to generate the configure script:
+need to run which will generate the configure script and
+initialize and update the submodules.
- autoreconf -f -i
-You also need to initialize and update the submodules:
- git submodule init
- git submodule update
+ ./
Generic build instructions for Linux/Mac OS:
@@ -0,0 +1,17 @@
+#! /bin/sh
+if (autoreconf -f -i) ; then
+ echo "autoreconf ran successfully."
+ echo "Initializing submodules..."
+ if (git submodule init) ; then
+ echo "Updating submodules..."
+ if (git submodule update) ; then
+ echo "Run './configure && make' to continue."
+ else
+ echo "Error: could not update submodules!"
+ fi
+ else
+ echo "Error: could not initialize submodules!"
+ fi
+ echo "Running autoreconf failed, please make sure you have autoconf installed."

0 comments on commit c7bb4ad

Please sign in to comment.