2014-02-09 15:56:26 +00:00
|
|
|
#!/bin/sh
|
2001-06-02 04:14:18 +00:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
2014-06-05 15:11:36 +00:00
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.11
|
2006-04-25 21:04:57 +00:00
|
|
|
|
2012-11-15 20:27:28 +00:00
|
|
|
(test -f $srcdir/configure.ac \
|
2006-04-25 21:04:57 +00:00
|
|
|
&& test -d $srcdir/src) || {
|
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
|
|
echo " top-level metacity directory"
|
|
|
|
exit 1
|
2001-06-02 04:14:18 +00:00
|
|
|
}
|
|
|
|
|
2006-04-25 21:04:57 +00:00
|
|
|
which gnome-autogen.sh || {
|
2008-09-26 04:05:31 +00:00
|
|
|
echo "You need to install gnome-common from GNOME Subversion (or from"
|
|
|
|
echo "your distribution's package manager)."
|
2006-04-25 21:04:57 +00:00
|
|
|
exit 1
|
2001-06-02 04:14:18 +00:00
|
|
|
}
|
2015-03-04 20:00:18 +00:00
|
|
|
. gnome-autogen.sh
|