+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.
--------------------------------------------------------------------------------
-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
import sys
import codecs
import subprocess as sp
+import shutil
from . import constants
from .GLError import GLError
from .GLConfig import GLConfig
# 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
# 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
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)