1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/non-recursive-gnulib-prefix-hack
Bruno Haible 8f2cda7dff gnulib-tool.py: Avoid adding specific modules to a testdir.
Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00292.html>.

* pygnulib/GLInfo.py (GLInfo.usage): Document
--extract-usability-in-testdir option.
* pygnulib/GLModuleSystem.py (GLModule.section_label_pattern): Recognize
Usable-in-testdir section.
(GLModule.getUsabilityInTestdir): New function.
* pygnulib/GLTestDir.py (GLTestDir.execute): Invoke it to filter out
modules to avoid. Warn if such a module was specified.
* pygnulib/main.py (main): Add support for
--extract-usability-in-testdir. Provide an error message for error 24.
* pygnulib/GLError.py: Likewise.
* modules/config-h (Usable-in-testdir): New section.
* modules/lib-ignore (Usable-in-testdir): New section.
* modules/mountlist (Usable-in-testdir): New section.
* modules/non-recursive-gnulib-prefix-hack (Usable-in-testdir): New
section.
* modules/timevar (Usable-in-testdir): New section.
(Files): Remove lib/timevar.def.
2024-07-28 23:52:04 +02:00

43 lines
1014 B
Plaintext

Description:
Adjust a gnulib-generated gnulib.mk file and configure script so
that they are usable in a non-recursive make framework.
Status:
deprecated
Notice:
This module is deprecated. Instead,
- use the gnulib-tool option '--automake-subdir',
- remove the explicit invocation of build-aux/prefix-gnulib-mk from your build
system.
Usable-in-testdir:
# This module represents a nonstandard way of using Automake.
no
Files:
build-aux/prefix-gnulib-mk
m4/non-recursive-gnulib-prefix-hack.m4
Depends-on:
configure.ac:
dnl Run our hack near the end, just before config.status creation.
dnl It must happen late, i.e., after gl_LIBOBJS has been finalized.
AC_CONFIG_COMMANDS_PRE([
dnl Note we can't currently pass $gl_source_base instead of 'lib',
dnl because $gl_source_base is unset or the wrong value in the references
dnl generated in m4/non-recursive-gnulib-prefix-hack.m4
gl_NON_RECURSIVE_GNULIB_PREFIX_HACK([lib])
])
Makefile.am:
Include:
License:
unlimited
Maintainer:
Jim Meyering