Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

autogen.sh: Implement autogen.sh script which runs #8

Merged
merged 1 commit into from

2 participants

@matthiaskrgr

autoreconf -f -i
git submodule init
git dubmodule update
so we don't need to run them one by one manually.

I'm don't know if this change is wanted or not, I though I would just give it a try and see what happens. :)

@matthiaskrgr matthiaskrgr autogen.sh: Implement autogen.sh script which runs
autoreconf -f -i
git submodule init
git dubmodule update
so we don't need to run them one by one manually.
c7bb4ad
@acaudwell acaudwell merged commit 4c568fe into acaudwell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 29, 2012
  1. @matthiaskrgr

    autogen.sh: Implement autogen.sh script which runs

    matthiaskrgr authored
    autoreconf -f -i
    git submodule init
    git dubmodule update
    so we don't need to run them one by one manually.
This page is out of date. Refresh to see the latest.
Showing with 20 additions and 7 deletions.
  1. +3 −7 INSTALL
  2. +17 −0 autogen.sh
View
10 INSTALL
@@ -32,14 +32,10 @@ GLM is a header only library that you can get from http://glm.g-truc.net/ 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 autogen.sh 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
+ ./autogen.sh
Generic build instructions for Linux/Mac OS:
View
17 autogen.sh
@@ -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
+else
+ echo "Running autoreconf failed, please make sure you have autoconf installed."
+fi
Something went wrong with that request. Please try again.