Branch
Hash :
8f2cda7d
Author :
Date :
2024-07-28T23:52:04
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
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