make_distcheck in bip-release needs to prepare sources

This commit is contained in:
Marc Dequènes (Duck) 2013-10-19 13:28:42 +02:00
parent b6d9151e8c
commit d9461b8c8d
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,11 @@ get_version() {
}
make_distcheck() {
# prepare sources
autoreconf -i -Wall
# Create makefile, use all possible options
./configure --enable-oidentd
# run distcheck
if ! make ${MAKEOPTS} distcheck; then
echo "'make distcheck' fails, please try again." >&2
return 1
@ -60,3 +65,7 @@ else
echo "See ${prefix}.tar.gz"
fi
# cleanup
git clean -d -i -e "bip-*.tar.gz"