mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
27 lines
578 B
Bash
Executable file
27 lines
578 B
Bash
Executable file
#!/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
|
|
|
|
AUTORECONF=`which autoreconf`
|
|
if test -z $AUTORECONF; then
|
|
echo "*** No autoreconf found, please intall it ***"
|
|
exit 1
|
|
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" "$@"
|
|
|