]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: ensure there is a ChangeLog before running automake.
authorGary V. Vaughan <gary@gnu.org>
Sun, 16 Sep 2012 04:34:19 +0000 (11:34 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sun, 16 Sep 2012 07:34:14 +0000 (14:34 +0700)
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>
bootstrap.conf

index f7bc1ac0bb2824ceaf7d8ab1f30cbbb7f23fe3ca..178cc7472e8f1557e337cbf00d98db03db266796 100644 (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.