#! /bin/sh

# $Id: bootstrap,v 1.2 2004/05/23 15:22:12 joostvb Exp $

#
# See comment in Makefile.am on state of build system.
#

# A fake texi file so that automake can see what we want to do
test -f autobook.texi || cat > autobook.texi <<EOF
@setfilename fnord
@include version.texi
EOF

# make setup
aclocal
# we might _need_ automake-1.4
automake --gnu --add-missing
autoconf

# Remove the fake texi file (if any)
grep "@setfilename fnord" autobook.texi >/dev/null 2>&1 \
  && rm -f autobook.texi

exit 0
