diff options
author | Gary V. Vaughan <gary@gnu.org> | 2012-09-16 11:34:19 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2012-10-02 21:05:22 +0700 |
commit | 43acd6749a29f079452cfb70b6c6e1c8f1469128 (patch) | |
tree | 801ac644853641f95da2722491a08ff81c613115 | |
parent | 8c6e33197e36463cb7fcf5d575a53c3f414ec4ff (diff) | |
download | libtool-43acd6749a29f079452cfb70b6c6e1c8f1469128.tar.gz |
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>
-rw-r--r-- | bootstrap.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index f7bc1ac0..178cc747 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. |