texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * README-hacking: add note about removing generat


From: Gavin D. Smith
Subject: branch master updated: * README-hacking: add note about removing generated gnulib header files after "git switch".
Date: Sun, 13 Oct 2024 09:02:52 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 992b2e9217 * README-hacking: add note about removing generated gnulib 
header files after "git switch".
992b2e9217 is described below

commit 992b2e92177ae6361fd985f1002fd29e3c75191d
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 13 14:02:25 2024 +0100

    * README-hacking: add note about removing generated gnulib header
    files after "git switch".
---
 ChangeLog      |  5 +++++
 README-hacking | 11 +++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 67a3524a3b..8ee6403959 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-13  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * README-hacking: add note about removing generated gnulib header
+       files after "git switch".
+
 2024-10-13  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/format_html.c (file_header_information),
diff --git a/README-hacking b/README-hacking
index 85f60aa0ac..6206df24ec 100644
--- a/README-hacking
+++ b/README-hacking
@@ -384,13 +384,20 @@ find . -type f
 (Keep a copy of README-hacking open in a text editor to update these
 release instructions.)
 
-Check on correct branch (master or release/*) and rebuild.
-./autogen.sh ; ./configure ; make
+Check on correct branch (master or release/*)
+
+git switch release/7.1
+# remove stale generated headers from gnulib
+git status -u | grep '\.h$' | xargs rm
 
 * For release/7.1 branch only: need to "rm -f doc/refcard/Makefile.in"
 after switching to prevent manually written Makefile being clobbered.
 [Remove this note once release/7.1 no longer relevant.]
 
+Then rebuild:
+
+./autogen.sh ; ./configure ; make
+
 Have a look at the output of "git status -u" to check for files that
   should be tracked in git or ignored.  Check for leftover result
   files under tp/tests which should be removed.



reply via email to

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