gnome-control-center/autogen.sh

32 lines
727 B
Bash
Raw Normal View History

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"
(test -f $srcdir/configure.ac \
&& test -f $srcdir/autogen.sh \
&& test -d $srcdir/shell) || {
1998-02-10 21:22:12 +00:00
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-control-center directory"
1998-02-10 21:22:12 +00:00
exit 1
}
DIE=0
rm -f .using-gnome-libs-package
# Fetch submodules if needed
2013-01-11 16:11:41 +01:00
echo "+ Setting up submodules"
git submodule update --init --recursive
if ! which gnome-autogen.sh ; then
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
. gnome-autogen.sh