2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
9 (test -f $srcdir/configure.ac \
10 && test -f $srcdir/$PKG_NAME.doap) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
16 if type lcov >/dev/null 2>&1; then
17 EXTRA_ARGS="--enable-code-coverage"
19 echo "lcov not installed, not enabling code coverage"
23 which gnome-autogen.sh || {
24 echo "You need to install gnome-common."
28 . gnome-autogen.sh "$EXTRA_ARGS" "$@"