1#! /bin/sh 2 3set -e 4 5# Clear the cache to get a clean rebuild. 6rm -rf autom4te.cache 7 8# Generate the ChangeLog file. 9darcs changes --summary > ChangeLog 10 11# Replace variables here and there to get a consistent tree. 12./utils/replace-vars.sh 13 14# Update gnulib within our source tree. 15gnulib-tool --source-base=gnulib/lib --m4-base=gnulib/m4 \ 16 --tests-base=gnulib/tests --doc-base=gnulib/doc \ 17 --with-tests --lgpl \ 18 --import getopt 19 20# Set up the standard gettext infrastructure. 21autopoint 22 23# Set up libtool stuff for use with Automake. 24libtoolize --automake 25 26# Update aclocal.m4, using the macros from the m4 directories. 27aclocal -I m4 -I gnulib/m4 28 29# Run autoheader to generate config.h.in. 30autoheader 31 32# Create Makefile.in's. 33automake --add-missing 34 35# Create the configure script. 36autoconf 37