public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [newlib-cygwin] Cygwin: silence xsltproc when writing manpages
Date: Wed, 19 Jan 2022 17:15:32 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=0f29c6fc3c0f6318315cc77ae0a70ce8122cb9a3

commit 0f29c6fc3c0f6318315cc77ae0a70ce8122cb9a3
Author: Jon Turney <>
Date:   Tue Jan 18 20:52:46 2022 +0000

    Cygwin: 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.

 winsup/doc/ | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/winsup/doc/ b/winsup/doc/
index fb3ab711c..650e0c924 100644
--- a/winsup/doc/
+++ b/winsup/doc/
@@ -21,6 +21,8 @@ XMLTO_DBLATEX_QUIET_=-p '-q'
 XMLTO_HTML_CHUNK_QUIET_=--stringparam chunk.quietly=1
+XMLTO_MAN_QUIET_=--stringparam man.output.quietly=1
 DOCBOOK2XTEXI=@DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=charmap
@@ -125,7 +127,7 @@ cygwin-ug-net/cygwin-ug-net.pdf: $(cygwin-ug-net_SOURCES) fo.xsl
 	$(AM_V_GEN)$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $(XMLTO_DBLATEX_QUIET) $<
 utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl
-	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
+	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $(XMLTO_MAN_QUIET) $<
 	@touch $@ $(cygwin-ug-net_SOURCES) charmap
@@ -138,7 +140,7 @@ cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl
 	$(AM_V_GEN)$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $(XMLTO_DBLATEX_QUIET) $<
 api2man.stamp: $(cygwin-api_SOURCES) man.xsl
-	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
+	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $(XMLTO_MAN_QUIET) $<
 	@touch $@ $(cygwin-api_SOURCES) charmap
@@ -150,7 +152,7 @@ charmap:
 	$(AM_V_at)echo "ae (R)" >>charmap
 intro2man.stamp: intro.xml man.xsl
-	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<
+	$(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $(XMLTO_MAN_QUIET) $<
 	@echo ".so intro.1" >cygwin.1
 	@touch $@

                 reply	other threads:[~2022-01-19 17:15 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).