#!/bin/sh # Run this to generate all the initial makefiles, etc. PKG_NAME="libgweather" test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. olddir=`pwd` cd "$srcdir" (test -f configure.ac \ && test -f $PKG_NAME.doap) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } mkdir m4/ GTKDOCIZE=$(which gtkdocize 2>/dev/null) if test -z $GTKDOCIZE; then echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation." rm -f gtk-doc.make cat > gtk-doc.make < po-locations/Makefile.in.in # Now configure, if asked cd "$olddir" test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"