From: Gary V. Vaughan Date: Sun, 16 Sep 2012 04:34:19 +0000 (+0700) Subject: bootstrap: ensure there is a ChangeLog before running automake. X-Git-Tag: v2.4.2.418~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baae4ef776d3c8586b980d9aab18be226bf268af;p=thirdparty%2Flibtool.git 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 --- diff --git a/bootstrap.conf b/bootstrap.conf index f7bc1ac0b..178cc7472 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -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.