bootstrap: ensure there is a ChangeLog before running automake.

Automake refuses to run in GNU-mode unless there is a ChangeLog file
in the top-level directory.
* bootstrap.conf (libtool_force_changelog): Create a dummy ChangeLog.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
Gary V. Vaughan 2012-09-16 11:34:19 +07:00
parent 8c6e33197e
commit 43acd6749a

View File

@ -342,6 +342,18 @@ libtool_build_prerequisites ()
func_add_hook func_gnulib_tool libtool_build_prerequisites
# libtool_force_changelog
# -----------------------
# Automake requires that ChangeLog exist.
libtool_force_changelog ()
{
$debug_cmd
echo "Autogenerated by \`make dist'" > ChangeLog || exit 1
}
func_add_hook func_gnulib_tool libtool_force_changelog
# libtool_readme_release_package_substitutions
# --------------------------------------------
# Show our own package details instead of generic strings.