melunko@249: #!/bin/sh melunko@249: # Run this to generate all the initial makefiles, etc. melunko@249: renatofilho@909: srcdir=`dirname $0` renatofilho@909: test -z "$srcdir" && srcdir=. melunko@249: renatofilho@915: PKG_NAME="gmyth-upnp" melunko@249: renatofilho@909: (test -f $srcdir/configure.ac) || { renatofilho@909: echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" renatofilho@909: echo " top-level $PKG_NAME directory" renatofilho@909: exit 1 melunko@249: } melunko@249: renatofilho@909: which gnome-autogen.sh || { renatofilho@909: echo "You need to install gnome-common from the GNOME CVS" renatofilho@909: exit 1 melunko@249: } melunko@249: renatofilho@909: ACLOCAL_FLAGS="$ACLOCAL_FLAGS" renatofilho@909: REQUIRED_AUTOMAKE_VERSION=1.7 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh