1
0
Fork 0

tools/mkrelease: Use distcheck

* tools/mkrelease: Use distcheck instead of plain dist.  Add hint for failure.
master
Mike Gerwitz 2017-11-06 23:44:22 -05:00
parent 4b14813340
commit 60ce72508a
Signed by: mikegerwitz
GPG Key ID: 8C917B7F5DC51BA2
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Automates the task of tagging and making a release of GNU ease.js # Automates the task of tagging and making a release of GNU ease.js
# #
# Copyright (C) 2014 Free Software Foundation, Inc. # Copyright (C) 2014, 2017 Free Software Foundation, Inc.
# #
# This file is part of GNU ease.js. # This file is part of GNU ease.js.
# #
@ -58,8 +58,11 @@ git checkout "$version" || {
# rebuild and prepare distributions # rebuild and prepare distributions
autoreconf -fvi \ autoreconf -fvi \
&& ./configure \ && ./configure \
&& make dist distdir \ && make distcheck distdir \
|| exit $? || {
echo "distcheck hint: use absolute path for CCJAR env var" >&2
exit 1
}
# create links for gnupload filenames (gnuput does not like symlinks here) # create links for gnupload filenames (gnuput does not like symlinks here)
srcln="easejs-$version/build" srcln="easejs-$version/build"