#! /bin/sh
set -e
test -d m4 || mkdir m4
test -d build-aux || mkdir build-aux
git submodule init || exit $?
git submodule update || exit $?
cat > ChangeLog <<EOT
This file is a placeholder. It will be replaced with the actual ChangeLog
by make dist. Run make ChangeLog if you wish to create it earlier.
EOT
autoreconf -f -i -s