upower/autogen.sh

28 lines
578 B
Bash
Raw Permalink Normal View History

2008-05-08 22:29:38 -04:00
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
2008-11-11 09:31:16 -05:00
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please intall it ***"
exit 1
2008-05-08 22:29:38 -04:00
fi
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No GTK-Doc found, please install it ***"
exit 1
fi
gtkdocize --copy || exit 1
autoreconf --verbose --force --install || exit 1
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"