root/trunk/autogen.sh

Revision 1722 (checked in by svillar, 2 years ago)

ACLOCAL_FLAGS issue fixed

  • Property svn:executable set to
Line 
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 export ACLOCAL_FLAGS="-I `pwd`/m4 $ACLOCAL_FLAGS"
5
6 srcdir=`dirname $0`
7 test -z "$srcdir" && srcdir=.
8 REQUIRED_AUTOMAKE_VERSION=1.7
9 PKG_NAME=tinymail
10
11 (test -f $srcdir/configure.ac \
12   && test -f $srcdir/libtinymail/tny-folder.c) || {
13     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
14     echo " top-level $PKG_NAME directory"
15     exit 1
16 }
17
18
19 which gnome-autogen.sh || {
20     echo "You need to install gnome-common from the GNOME CVS"
21     exit 1
22 }
23 USE_GNOME2_MACROS=1 . gnome-autogen.sh
24
25 ### Dirty lil hack #
26 patch -fp0 < gtk-doc.make.distcheck.patch
27
28 # TODO: Put this in a make target (stupid gtk-doc.make doesn't make this possible afaik)
29
30 ./gentypes.sh $srcdir
31
32 exit 0
33
Note: See TracBrowser for help on using the browser.