1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4srcdir=`dirname $0`
5test -z "$srcdir" && srcdir=.
6
7PKG_NAME="atril"
8
9(test -f $srcdir/configure.ac) || {
10    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
11    echo " top-level $PKG_NAME directory"
12    exit 1
13}
14
15which mate-autogen || {
16    echo "You need to install mate-common"
17    exit 1
18}
19
20which yelp-build || {
21    echo "You need to install yelp-tools"
22    exit 1
23}
24
25REQUIRED_AUTOMAKE_VERSION=1.10
26REQUIRED_GTK_DOC_VERSION=1.13
27
28. mate-autogen
29
30