summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPetr Kovar <pkovar@redhat.com>2012-10-19 13:51:10 +0200
committerPetr Kovar <pkovar@redhat.com>2012-10-19 13:51:10 +0200
commitb6553756685a8862d0734047d456324e753a13ab (patch)
treed022386231dcba275058f2811837ff11f776c544 /autogen.sh
downloadgnome-getting-started-docs-b6553756685a8862d0734047d456324e753a13ab.tar.gz
Initial import
Based on gnome-user-docs makefiles etc.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..16cdba3
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gnome-getting-started-docs"
+
+(test -f $srcdir/configure.in \
+ && test -d $srcdir/getting-started) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME Git"
+ exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.6
+export REQUIRED_AUTOMAKE_VERSION
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh