From: Bruno Haible Date: Mon, 5 May 2025 11:24:57 +0000 (+0200) Subject: doc: xgettext: More doc regarding --generated. X-Git-Tag: v0.25~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=468a3515316c0c9e6869001641a3660cacc8d136;p=thirdparty%2Fgettext.git doc: xgettext: More doc regarding --generated. Suggested by Vaclav Slavik at . * gettext-tools/doc/xgettext.texi: Mention the --generated option in the --files-from description. --- diff --git a/gettext-tools/doc/xgettext.texi b/gettext-tools/doc/xgettext.texi index 8e6dbda7d..c2363a356 100644 --- a/gettext-tools/doc/xgettext.texi +++ b/gettext-tools/doc/xgettext.texi @@ -24,6 +24,9 @@ Input files. Read the names of the input files from @var{file} instead of getting them from the command line. +Often @var{file} is a temporary file, generated during the build process. +In this case, you should also pass the @code{--generated=@var{file}} option. + @item -D @var{directory} @itemx --directory=@var{directory} @opindex -D@r{, @code{xgettext} option} @@ -791,7 +794,7 @@ and therefore should not have an influence on the @samp{POT-Creation-Date} field in the output. When you specify this option, -you should also specify one or @code{--reference} options, +you should also specify one or more @code{--reference} options, to indicate the files from which the given @var{file} was generated. @item --reference=@var{file}