2004-06-24 14:18:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
2008-08-18 15:29:21 +00:00
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.9
|
2004-08-26 19:14:26 +00:00
|
|
|
PKG_NAME=NetworkManager
|
|
|
|
|
2009-04-20 23:17:07 +00:00
|
|
|
(test -f $srcdir/configure.ac \
|
2010-03-03 08:57:28 +00:00
|
|
|
&& test -f $srcdir/src/main.c) || {
|
2004-08-26 19:14:26 +00:00
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
|
|
echo " top-level $PKG_NAME directory"
|
|
|
|
exit 1
|
2004-06-24 14:18:37 +00:00
|
|
|
}
|
|
|
|
|
2008-03-07 00:45:34 +00:00
|
|
|
(cd $srcdir;
|
2008-08-12 08:05:21 +00:00
|
|
|
gtkdocize || exit 1
|
2011-03-14 15:58:58 +00:00
|
|
|
autopoint --force
|
|
|
|
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
2011-09-19 21:45:43 +00:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
|
|
./configure --enable-maintainer-mode $@
|
|
|
|
fi
|
2008-03-07 00:45:34 +00:00
|
|
|
)
|
2004-06-24 14:18:37 +00:00
|
|
|
|