1998-02-10 21:22:12 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
2013-01-11 16:11:41 +01:00
|
|
|
ACLOCAL_FLAGS="-I libgd $ACLOCAL_FLAGS"
|
1998-02-14 06:06:56 +00:00
|
|
|
|
2009-12-05 11:22:52 +00:00
|
|
|
(test -f $srcdir/configure.ac \
|
2001-10-26 19:11:30 +00:00
|
|
|
&& test -f $srcdir/autogen.sh \
|
2006-12-04 21:28:40 +00:00
|
|
|
&& test -d $srcdir/shell) || {
|
1998-02-10 21:22:12 +00:00
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
2015-10-17 21:26:42 +02:00
|
|
|
echo " top-level gnome-control-center directory"
|
1998-02-10 21:22:12 +00:00
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
2001-10-26 19:11:30 +00:00
|
|
|
DIE=0
|
|
|
|
|
|
|
|
rm -f .using-gnome-libs-package
|
|
|
|
|
2012-10-31 15:43:59 -04:00
|
|
|
# Fetch submodules if needed
|
2013-01-11 16:11:41 +01:00
|
|
|
echo "+ Setting up submodules"
|
|
|
|
git submodule update --init --recursive
|
2012-10-31 15:43:59 -04:00
|
|
|
|
2004-11-28 08:14:05 +00:00
|
|
|
if ! which gnome-autogen.sh ; then
|
2001-10-26 19:11:30 +00:00
|
|
|
echo "You need to install the gnome-common module and make"
|
|
|
|
echo "sure the gnome-autogen.sh script is in your \$PATH."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2010-10-01 08:02:27 +02:00
|
|
|
. gnome-autogen.sh
|