]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Follow gnulib-tool changes, part 59.
authorCollin Funk <collin.funk1@gmail.com>
Sat, 16 Mar 2024 21:52:21 +0000 (14:52 -0700)
committerBruno Haible <bruno@clisp.org>
Sat, 16 Mar 2024 23:07:59 +0000 (00:07 +0100)
Follow gnulib-tool change
2017-10-29  Bruno Haible  <bruno@clisp.org>
gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.

* pygnulib/GLTestDir.py (GLTestDir.execute): Touch the 'config.h.in'
file after executing 'autoheader' to update it's timestamps.

ChangeLog
gnulib-tool.py.TODO
pygnulib/GLTestDir.py

index 9f784564402e242a7077c34dc0947bc2eef7b9ce..258691d55137f1a94f99138fcd2675e76f92fc02 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-03-16  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Follow gnulib-tool changes, part 59.
+       Follow gnulib-tool change
+       2017-10-29  Bruno Haible  <bruno@clisp.org>
+       gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.
+       * pygnulib/GLTestDir.py (GLTestDir.execute): Touch the 'config.h.in'
+       file after executing 'autoheader' to update it's timestamps.
+
 2024-03-16  Collin Funk  <collin.funk1@gmail.com>
 
        gnulib-tool.py: Fix 'git update-index' call when using hard links.
index eb315de832c3f0651511c2c1ac32da80c2f03470..8d76b38cd9bdf54a9803629852e4e66bdfa4277b 100644 (file)
@@ -172,17 +172,6 @@ Date:   Mon Nov 18 13:32:46 2019 +0100
 
 --------------------------------------------------------------------------------
 
-commit cd58dba367a3b8ffbebb23f2099a820106197fae
-Author: Bruno Haible <bruno@clisp.org>
-Date:   Sun Oct 29 16:57:32 2017 +0100
-
-    gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.
-
-    * gnulib-tool (func_create_testdir): Use workaround against 'autoheader'
-    bug reported at <https://savannah.gnu.org/support/index.php?109406>.
-
---------------------------------------------------------------------------------
-
 commit 30459fe101541698ec704acb224946d73676750e
 Author: Bruno Haible <bruno@clisp.org>
 Date:   Thu Jun 8 15:09:31 2017 +0200
index 024260f6558f847a5509b67f91d58f68b48584ed..d01893922cbded5a8839cc6645cbbb993ff8da48 100644 (file)
@@ -22,6 +22,7 @@ import sys
 import codecs
 import subprocess as sp
 import shutil
+from pathlib import Path
 from . import constants
 from .GLError import GLError
 from .GLConfig import GLConfig
@@ -696,6 +697,7 @@ class GLTestDir(object):
         # autoheader
         args = [UTILS['autoheader']]
         constants.execute(args, verbose)
+        Path('config.h.in').touch()
         # automake
         args = [UTILS['automake'], '--add-missing', '--copy']
         constants.execute(args, verbose)
@@ -727,6 +729,7 @@ class GLTestDir(object):
             # autoheader
             args = [UTILS['autoheader']]
             constants.execute(args, verbose)
+            Path('config.h.in').touch()
             # automake
             args = [UTILS['automake'], '--add-missing', '--copy']
             constants.execute(args, verbose)