]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Follow gnulib-tool changes, part 25.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 22 Feb 2024 05:32:10 +0000 (21:32 -0800)
committerBruno Haible <bruno@clisp.org>
Thu, 22 Feb 2024 16:46:55 +0000 (17:46 +0100)
Follow gnulib-tool change
2017-06-11  Bruno Haible  <bruno@clisp.org>
gnulib-tool: Clean up after autotools.

* pygnulib/GLTestDir.py (GLTestDir.execute): Remove
unnessecary autom4te.cache directory generated by Autotools.
(GLMegaTestDir.execute): Likewise.

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

index 1ab1246616db2d4b690b3bcdd614b1f27a952b5f..677e7988850b9c7e307a0d907017a14fc1bcc6a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-02-22  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Follow gnulib-tool changes, part 25.
+       Follow gnulib-tool change
+       2017-06-11  Bruno Haible  <bruno@clisp.org>
+       gnulib-tool: Clean up after autotools.
+       * pygnulib/GLTestDir.py (GLTestDir.execute): Remove
+       unnessecary autom4te.cache directory generated by Autotools.
+       (GLMegaTestDir.execute): Likewise.
+
 2024-02-21  Bruno Haible  <bruno@clisp.org>
 
        c-strtof: New module.
index da6df2ab90ed5ce95e78dc383c18b35aa0d9398d..1b4fe26cfca38d4cb486463fbf41f7a58cbe08d3 100644 (file)
@@ -818,17 +818,6 @@ Date:   Sun Oct 29 16:57:32 2017 +0100
 
 --------------------------------------------------------------------------------
 
-commit 87d14d357f694338acdb8745cea7304ff623ce47
-Author: Bruno Haible <bruno@clisp.org>
-Date:   Mon Jun 12 01:38:57 2017 +0200
-
-    gnulib-tool: Clean up after autotools.
-
-    * gnulib-tool (func_create_testdir, func_create_megatestdir): Remove
-    useless directory left over by the Autotools.
-
---------------------------------------------------------------------------------
-
 commit 30459fe101541698ec704acb224946d73676750e
 Author: Bruno Haible <bruno@clisp.org>
 Date:   Thu Jun 8 15:09:31 2017 +0200
index 144798bd016ca3426417064609cfa5201f28f811..3bb99c59ccbbf9ae0ef82151d48c9f3ca7031d27 100644 (file)
@@ -21,6 +21,7 @@ import re
 import sys
 import codecs
 import subprocess as sp
+import shutil
 from . import constants
 from .GLError import GLError
 from .GLConfig import GLConfig
@@ -675,6 +676,7 @@ class GLTestDir(object):
         # automake
         args = [UTILS['automake'], '--add-missing', '--copy']
         constants.execute(args, verbose)
+        shutil.rmtree('autom4te.cache')
         os.chdir(DIRS['cwd'])
         if inctests and not single_configure:
             # Do not use "${AUTORECONF} --force --install", because it may invoke
@@ -705,6 +707,7 @@ class GLTestDir(object):
             # automake
             args = [UTILS['automake'], '--add-missing', '--copy']
             constants.execute(args, verbose)
+            shutil.rmtree('autom4te.cache')
             os.chdir(DIRS['cwd'])
 
         # Need to run configure and make once, to create built files that are to be
@@ -994,4 +997,5 @@ class GLMegaTestDir(object):
         constants.execute(args, verbose)
         args = [UTILS['automake'], '--add-missing', '--copy']
         constants.execute(args, verbose)
+        shutil.rmtree('autom4te.cache')
         sp.call(['rm', '-rf', self.config['tempdir']], shell=False)