]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Follow gnulib-tool changes, part 45.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 7 Mar 2024 05:49:21 +0000 (21:49 -0800)
committerBruno Haible <bruno@clisp.org>
Thu, 7 Mar 2024 11:43:56 +0000 (12:43 +0100)
commit6038b3fadb3bb9018a5053ebd842260e46e43598
treea1dd58935a5db74b27db8f259a3318807dd77f9d
parent387b537e95fa0398e37af07f883a824e5bd6925a
gnulib-tool.py: Follow gnulib-tool changes, part 45.

Follow gnulib-tool changes
2021-12-12  Bruno Haible  <bruno@clisp.org>
gnulib-tool: Support different basenames for the lib/,tests/ Makefiles.
2022-01-08  Bruno Haible  <bruno@clisp.org>
gnulib-tool: Fix "Don't forget" messages (regression 2021-12-12).

* pygnulib/GLConfig.py (GLConfig.__init__): Add 'tests_makefile_name'
argument.
(GLConfig.getMakefileName, GLConfig.setMakefileName)
(GLConfig.resetMakefileName): Remove references to tests Makefile.am in
doc strings.
(GLConfig.getTestsMakefileNamem, GLConfig.setTestsMakefileName)
(GLConfig.resetTestsMakefileName): New methods used to access value
passed with the '--tests-makefile-name' option.
* pygnulib/GLImport.py (GLImport.__init__): Check for
'gl_TESTS_MAKEFILE_NAME' in cache.
(GLImport.actioncmd): Output --tests-makefile-name when describing
gnulib-tool invocation.
(GLImport.gnulib_cache): Output 'gl_TESTS_MAKEFILE_NAME' to cache.
(GLImport.execute): Use two local variables, source_makefile_am and
tests_makefile_am, which are passed to gnulib-tool.py or given default
values.
* pygnulib/GLInfo.py (GLInfo.usage): Add '--tests-makefile-name' to
usage message.
* pygnulib/GLMakefileTable.py (GLMakefileTable.parent): Reduce code
duplication by expecting Makefile names passed as arguments.
* pygnulib/main.py (main): Add support for '--tests-makefile-name'.
ChangeLog
gnulib-tool.py.TODO
pygnulib/GLConfig.py
pygnulib/GLImport.py
pygnulib/GLInfo.py
pygnulib/GLMakefileTable.py
pygnulib/main.py