eog/autogen.sh
Jens Finke 3f9914d21a Use 'shell' and 'viewer/main.c' to check for eog toplevel directory.
2001-03-28  Jens Finke <jens@gnome.org>

	* autogen.sh: Use 'shell' and 'viewer/main.c' to check for eog
	toplevel directory.

	* configure.in (AC_OUTPUT): Removed 'src/*', added
	'libeog/cursors/Makefile' and 'libeog/stock/Makefile'.

	* Makefile.am (SUBDIRS): Finally removed src
	directory.
2001-03-27 23:02:35 +00:00

18 lines
413 B
Bash
Executable file

#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="Eye of Gnome image viewer"
(test -f $srcdir/configure.in \
&& test -d $srcdir/shell \
&& test -f $srcdir/viewer/main.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
. $srcdir/macros/autogen.sh