- rm -rf autom4te.cache
- rm -f config.cache
-
- libtoolize -c --force
- intltoolize -c -f
- run_versioned aclocal "$AM_VERSION" -I m4
- run_versioned autoconf "$AC_VERSION" -Wall
- run_versioned autoheader "$AC_VERSION"
- run_versioned automake "$AM_VERSION" --copy --foreign --add-missing
-
- if [ "x$1" != "xac" ]; then
- CFLAGS="$CFLAGS -g -O0" ./configure \
- --with-rootprefix= \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libdir=$(libdir /usr/lib) \
- --with-rootlibdir=$(libdir /lib) \
- --libexecdir=/usr/lib \
- "$@"
- make clean
- fi
+ echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
+ rm -f docs/gtk-doc.make
+ echo 'EXTRA_DIST =' > docs/gtk-doc.make