#!/bin/sh
#
#  This file is probably useful only to the maintainer of fsh.
#
#  Make a release of fsh.  See the file RELEASING for full instructions.
#  This file was created by Per Cederqvist and placed in the public domain.
#

# Remove some files that we expect automake to create for us.
rm -f COPYING INSTALL ansi2knr.1 ansi2knr.c mdate-sh missing
rm -f install-sh mkinstalldirs texinfo.tex

# Recreate all files.
./bootstrap.sh

# Set up a build environment.
./configure

# Make sure we have up-to-date dependencies.
make clean
make

# Finally, make the distribution.
make distcheck
