[PATCH 2/4] Cygwin: silence dblatex when building PDFs

Jon Turney jon.turney@dronecode.org.uk
Thu Jan 20 16:43:40 GMT 2022


On 19/01/2022 13:15, Jon Turney wrote:
> Unless make is invoked with V=1, have xmlto pass '-q' to dblatex when
> building PDFs, to avoid "default template used in programlisting or
> screen" warnings from dblatex's verbatim.xsl stylesheet.
> ---
>   winsup/doc/Makefile.am | 7 +++++--
>   1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/winsup/doc/Makefile.am b/winsup/doc/Makefile.am
> index 44b64babc..57b74341a 100644
> --- a/winsup/doc/Makefile.am
> +++ b/winsup/doc/Makefile.am
> @@ -17,6 +17,9 @@ doc_DATA = \
>   htmldir = $(datarootdir)/doc
>   
>   XMLTO=@XMLTO@ --skip-validation --with-dblatex
> +XMLTO_DBLATEX_QUIET_=-p '-q'
> +XMLTO_DBLATEX_QUIET=$(XMLTO_DBLATEX_QUIET_$(V))


This doesn't seem to be working as expected when building on Fedora 
Rawhide [1], but it looks like xmlto isn't using dblatex despite ' 
--with-dblatex'?

[1] 
https://github.com/cygwin/cygwin/runs/4876704875?check_suite_focus=true#step:16:2211



More information about the Cygwin-patches mailing list