+2024-07-28 Bruno Haible <bruno@clisp.org>
+
+ More updates regarding the 'Useable-in-testdir' sections.
+ * gnulib-tool.sh (sed_extract_prog, sed_extract_field_header): Recognize
+ the 'Useable-in-testdir' sections.
+ * modules/TEMPLATE-EXTENDED: Add a 'Useable-in-testdir' section.
+ * doc/gnulib.texi (Module description): Move new text.
+
2024-07-28 Collin Funk <collin.funk1@gmail.com>
doc: Document the 'Useable-in-testdir' field in module descriptions.
Gnulib's documentation generator will automatically convert the first part
to a hyperlink when it has this form.
-@item Usable-in-testdir
-This field should contain @samp{no} if the module cannot be used in a
-test directory created with @code{gnulib-tool --create-testdir}.
-
@item Status
This field is either empty/absent, or contains the word @samp{obsolete}. In
the latter case, @command{gnulib-tool} will, unless the option
both @code{Makefile.am}s. This is useful for modules which provide
Makefile.am macros rather than compiled source code.
+@item Usable-in-testdir
+This field should contain @samp{no} if the module cannot be used in a
+test directory created with @code{gnulib-tool --create-testdir}.
+
@item Files
This field contains a newline separated list of the files that are part of
the module. @code{gnulib-tool} copies these files into the package that
s/^Status:[ ]*$//
s/^Notice:[ ]*$//
s/^Applicability:[ ]*$//
+ s/^Usable-in-testdir:[ ]*$//
s/^Files:[ ]*$//
s/^Depends-on:[ ]*$//
s/^configure\.ac-early:[ ]*$//
s/^Status:[ ]*$/status/
s/^Notice:[ ]*$/notice/
s/^Applicability:[ ]*$/applicability/
+ s/^Usable-in-testdir:[ ]*$/usability_in_testdir/
s/^Files:[ ]*$/files/
s/^Depends-on:[ ]*$/dependson/
s/^configure\.ac-early:[ ]*$/configureac_early/