bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bootstrap: add bootstrap_post_import_hook


From: Jim Meyering
Subject: [PATCH] bootstrap: add bootstrap_post_import_hook
Date: Thu, 19 Jan 2012 06:15:14 +0100

As mentioned, ...

>From 44c4f75581a7774594e5a225ab43c9c211e4abb4 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 19 Jan 2012 06:14:31 +0100
Subject: [PATCH] bootstrap: add bootstrap_post_import_hook

Bison does still need something like the gnulib_mk_hook whose
invocation I had to remove along with slurp in commit 767ccd40.
Technically, we could get along without it, but doing so would
have required living with a warning and a mandatory post-bootstrap
automake rerun.
* build-aux/bootstrap (gnulib_mk_hook): Remove definition, too.
(bootstrap_post_import_hook): New function.
Invoke it after gnulib-tool --import and before autoreconf.
---
 ChangeLog           |   12 ++++++++++++
 build-aux/bootstrap |    8 +++++---
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc34bb5..07c8a13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2012-01-19  Jim Meyering  <address@hidden>
+
+       bootstrap: add bootstrap_post_import_hook
+       Bison does still need something like the gnulib_mk_hook whose
+       invocation I had to remove along with slurp in commit 767ccd40.
+       Technically, we could get along without it, but doing so would
+       have required living with a warning and a mandatory post-bootstrap
+       automake rerun.
+       * build-aux/bootstrap (gnulib_mk_hook): Remove definition, too.
+       (bootstrap_post_import_hook): New function.
+       Invoke it after gnulib-tool --import and before autoreconf.
+
 2012-01-18  Jim Meyering  <address@hidden>

        gitlog-to-changelog: don't use "no_"-prefixed variable name
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 13ec5ae..57202fa 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2012-01-16.20; # UTC
+scriptversion=2012-01-18.21; # UTC

 # Bootstrap this package from checked-out sources.

@@ -87,9 +87,9 @@ gnulib_files=
 : ${AUTOPOINT=autopoint}
 : ${AUTORECONF=autoreconf}

-# A function to be called to edit gnulib.mk right after it's created.
+# A function to be called right after gnulib-tool is run.
 # Override it via your own definition in bootstrap.conf.
-gnulib_mk_hook() { :; }
+bootstrap_post_import_hook() { :; }

 # A function to be called after everything else in this script.
 # Override it via your own definition in bootstrap.conf.
@@ -807,6 +807,8 @@ for file in $gnulib_files; do
   symlink_to_dir "$GNULIB_SRCDIR" $file || exit
 done

+bootstrap_post_import_hook
+
 # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some
 # gnulib-populated directories.  Such .m4 files would cause aclocal to fail.
 # The following requires GNU find 4.2.3 or newer.  Considering the usual
--
1.7.9.rc1.2.gccfe4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]