2
# Run this to generate all the initial makefiles, etc.
3
# generated 2004/4/12 12:12:12 EDT by amp8165@localhost.(none)
5
# I didn't want to put a copy of 'macros' in every generated package
6
# so I try to find them at autogen.sh time and copy them here.
7
# (Normally if you have access to a cvs repository a copy of macros is
8
# put into your directory at checkout time. E.g. cvs.gnome.org/gnome-common)
11
GLADE_MACROS=`which glade | sed -e 's-bin/glade-share/glade-'`
12
if [ -r $GLADE_MACROS/gnome/gnome.m4 ]
14
if cp --dereference /dev/null /dev/zero
16
cp -r --dereference $GLADE_MACROS/gnome macros
18
cp -r $GLADE_MACROS/gnome macros
21
echo "I can't find glade's gnome m4 macros. Please copy them to ./macros and retry."
27
test -z "$srcdir" && srcdir=.
29
PKG_NAME="%{APPNAMELC}"
31
(test -f $srcdir/configure.in \
32
## put other tests here
34
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
35
echo " top-level $PKG_NAME directory"
39
export ACLOCAL_FLAGS="-I `pwd`/macros $ACLOCAL_FLAGS"
40
. $srcdir/macros/autogen.sh