tweaks: add some feedback to the autogen.sh script, to ease the wait

This commit is contained in:
Benno Schulenberg 2021-12-26 11:53:30 +01:00
parent 4a1db96db8
commit ebf6228f21
1 changed files with 11 additions and 4 deletions

View File

@ -36,19 +36,26 @@ fi
cd gnulib >/dev/null || exit 1
curr_hash=$(git log -1 --format=%H)
if [ "${gnulib_hash}" != "${curr_hash}" ]; then
echo "Pulling..."
git pull
git checkout -f ${gnulib_hash}
git checkout --force ${gnulib_hash}
fi
cd .. >/dev/null || exit 1
echo "Autopoint..."
autopoint --force
rm -rf lib
./gnulib/gnulib-tool \
--import \
${modules}
echo "Gnulib-tool..."
./gnulib/gnulib-tool --import ${modules}
echo
echo "Aclocal..."
aclocal -I m4
echo "Autoconf..."
autoconf
echo "Autoheader..."
autoheader
echo "Automake..."
automake --add-missing
echo "Done."