public inbox for
help / color / mirror / Atom feed
From: Jeff Johnston <>
Subject: [newlib-cygwin] Silence xsltproc when writing manpages
Date: Thu,  5 May 2022 00:37:33 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=81b7cf09faa523e7bb438abe24e6e5376e45a0e5

commit 81b7cf09faa523e7bb438abe24e6e5376e45a0e5
Author: Jon Turney <>
Date:   Mon May 2 13:55:15 2022 +0100

    Silence xsltproc when writing manpages
    Unless make is invoked with V=1, have xmlto pass the parameter
    'man.output.quietly=1' to xsltproc to suppress "Note: Writing foo.N"
    output from the manpages stylesheet.
    (This doesn't quite do what it says: The output is not silenced if V has
    any value, including 0.  You could consider that either a bug or a

 newlib/       | 3 +++
 newlib/libc/ | 2 +-
 newlib/libm/ | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/newlib/ b/newlib/
index 16c10f4a0..0108d8576 100644
--- a/newlib/
+++ b/newlib/
@@ -442,6 +442,9 @@ TEXI2DVI = texi2dvi -E
 TEXINFO_TEX = ../texinfo/texinfo.tex
+XMLTO_MAN_QUIET_=--stringparam man.output.quietly=1
 include doc/
diff --git a/newlib/libc/ b/newlib/libc/
index 21f356664..d07eed764 100644
--- a/newlib/libc/
+++ b/newlib/libc/
@@ -24,7 +24,7 @@ $(LIBC_CHEWOUT_FILES): $(MKDOC)
 	$(AM_V_at)$(SHELL) $(newlib_basedir)/../move-if-change $@.tmp $@
 %C%_man.stamp: %D%/libc.xml
-	$(AM_V_GEN)xmlto --skip-validation -o %D% --searchpath $(builddir)/%D% man -m $(srcdir)/man.xsl %D%/libc.xml
+	$(AM_V_GEN)xmlto --skip-validation -o %D% --searchpath $(builddir)/%D% man -m $(srcdir)/man.xsl $(XMLTO_MAN_QUIET) %D%/libc.xml
 	$(AM_V_at)touch $@
 man: %C%_man.stamp
diff --git a/newlib/libm/ b/newlib/libm/
index 699bc4caf..7fda120e5 100644
--- a/newlib/libm/
+++ b/newlib/libm/
@@ -24,7 +24,7 @@ $(LIBM_CHEWOUT_FILES): $(MKDOC)
 	$(AM_V_at)$(SHELL) $(newlib_basedir)/../move-if-change $@.tmp $@
 %C%_man.stamp: %D%/libm.xml
-	$(AM_V_GEN)xmlto --skip-validation -o %D% --searchpath $(builddir)/%D% man -m $(srcdir)/man.xsl %D%/libm.xml
+	$(AM_V_GEN)xmlto --skip-validation -o %D% --searchpath $(builddir)/%D% man -m $(srcdir)/man.xsl $(XMLTO_MAN_QUIET) %D%/libm.xml
 	$(AM_V_at)touch $@
 man: %C%_man.stamp

                 reply	other threads:[~2022-05-05  0:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).