Nick Bowler [Sat, 13 Feb 2021 18:33:37 +0000 (13:33 -0500)]
Don't use gnulib gettext module.
This gives deprecation warnings, suggesting the use of gettext-h
instead. I believe there is little reason not to switch, as
everything will work the same just that the NLS configure tests
will come from an installed GNU gettext when bootstrapping rather
than from gnulib.
Nick Bowler [Sat, 13 Feb 2021 18:28:03 +0000 (13:28 -0500)]
Ensure INSTALL is packaged.
When Automake is run in foreign mode, the standard INSTALL file is not
copied by automake --add-missing. As this file provides general usage
instructions for the GNU build system, it is useful to have included
in the package.
Just copy the file manually when bootstrapping to make that happen.
Nick Bowler [Sat, 13 Feb 2021 18:02:48 +0000 (13:02 -0500)]
Generate ChangeLog from git at packaging time.
Import the gitlog-to-changelog script from gnulib and add rules to
generate an up-to-date changelog from the git history, if available,
when running 'make dist'.
The ChangeLog is otherwise taken from srcdir as usual, so that
modified versions can be prepared from a release tarball without
requiring the full git history. In this scenario, the ChangeLog
would have to be manually edited.
In case the ChangeLog generation fails, a distcheck-hook is added to
hopefully catch issues before releasing tarballs with a broken
ChangeLog.