+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.
--------------------------------------------------------------------------------
-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
import codecs
import subprocess as sp
import shutil
+from pathlib import Path
from . import constants
from .GLError import GLError
from .GLConfig import GLConfig
# autoheader
args = [UTILS['autoheader']]
constants.execute(args, verbose)
+ Path('config.h.in').touch()
# automake
args = [UTILS['automake'], '--add-missing', '--copy']
constants.execute(args, verbose)
# autoheader
args = [UTILS['autoheader']]
constants.execute(args, verbose)
+ Path('config.h.in').touch()
# automake
args = [UTILS['automake'], '--add-missing', '--copy']
constants.execute(args, verbose)