This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/autogen.sh

23 lines
598 B
Bash
Raw Permalink Normal View History

2005-10-09 10:53:36 +02:00
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
2006-01-10 01:43:51 +01:00
PKG_NAME="gnoemoe"
2005-10-09 10:53:36 +02:00
2006-01-10 01:43:51 +01:00
(test -f $srcdir/configure.ac \
&& test -f $srcdir/README \
&& test -d $srcdir/gnoemoe) || {
2005-10-09 10:53:36 +02:00
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
2006-01-10 01:43:51 +01:00
echo " top-level $PKG_NAME directory"
2005-10-09 10:53:36 +02:00
exit 1
}
2006-01-10 01:43:51 +01:00
which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME CVS"
exit 1
2005-10-09 10:53:36 +02:00
}
2006-01-10 01:43:51 +01:00
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.8 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh