summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorClement Lefebvre <[email protected]>2015-09-08 16:10:04 +0100
committerClement Lefebvre <[email protected]>2015-09-08 16:36:43 +0100
commita50fc3dcb90f3180e8fe4f4acdf133db1e0cdbdf (patch)
treedc190fc67b3d26e80dd6f58b70a7cb031ec3a5c4 /autogen.sh
parentf63ecf7699e566fb3e445110b01e36d793b42b28 (diff)
downloadmate-user-guide-a50fc3dcb90f3180e8fe4f4acdf133db1e0cdbdf.tar.bz2
mate-user-guide-a50fc3dcb90f3180e8fe4f4acdf133db1e0cdbdf.tar.xz
Ported mate-desktop/user-guide to mate-user-guide
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..a7c0a08
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="mate-user-guide"
+
+(test -f $srcdir/configure.ac) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which mate-autogen || {
+ echo "You need to install mate-common"
+ exit 1
+}
+
+which yelp-build || {
+ echo "You need to install yelp-tools"
+ exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.11
+USE_MATE2_MACROS=1
+USE_COMMON_DOC_BUILD=yes
+
+. mate-autogen
+