make_distcheck in bip-release needs to prepare sources
This commit is contained in:
parent
b6d9151e8c
commit
d9461b8c8d
@ -21,6 +21,11 @@ get_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
make_distcheck() {
|
make_distcheck() {
|
||||||
|
# prepare sources
|
||||||
|
autoreconf -i -Wall
|
||||||
|
# Create makefile, use all possible options
|
||||||
|
./configure --enable-oidentd
|
||||||
|
# run distcheck
|
||||||
if ! make ${MAKEOPTS} distcheck; then
|
if ! make ${MAKEOPTS} distcheck; then
|
||||||
echo "'make distcheck' fails, please try again." >&2
|
echo "'make distcheck' fails, please try again." >&2
|
||||||
return 1
|
return 1
|
||||||
@ -60,3 +65,7 @@ else
|
|||||||
|
|
||||||
echo "See ${prefix}.tar.gz"
|
echo "See ${prefix}.tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
git clean -d -i -e "bip-*.tar.gz"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user