public inbox for
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: silence xsltproc when writing chunked html
@ 2022-01-19 17:15 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-01-19 17:15 UTC (permalink / raw)
  To: cygwin-cvs;h=2ede7d11e1a3a0eecf6d6c93bf79cd45f6d93ac8

commit 2ede7d11e1a3a0eecf6d6c93bf79cd45f6d93ac8
Author: Jon Turney <>
Date:   Tue Jan 18 20:20:18 2022 +0000

    Cygwin: silence xsltproc when writing chunked html
    Unless make is invoked with V=1, have xmlto pass the parameter
    'chunk.quietly=1' to xsltproc to suppress "Writing foo.html for
    sect1(foo)" output from the chunker.xsl stylesheet.

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

diff --git a/winsup/doc/ b/winsup/doc/
index 57b74341a..fb3ab711c 100644
--- a/winsup/doc/
+++ b/winsup/doc/
@@ -19,6 +19,8 @@ htmldir = $(datarootdir)/doc
 XMLTO=@XMLTO@ --skip-validation --with-dblatex
+XMLTO_HTML_CHUNK_QUIET_=--stringparam chunk.quietly=1
 DOCBOOK2XTEXI=@DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=charmap
@@ -117,7 +119,7 @@ cygwin-ug-net/cygwin-ug-net-nochunks.html.gz: $(cygwin-ug-net_SOURCES) html.xsl
 	$(AM_V_at)gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
 cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURCES) html.xsl
-	$(AM_V_GEN)$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $<
+	$(AM_V_GEN)$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $(XMLTO_HTML_CHUNK_QUIET) $<
 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) $<
@@ -130,7 +132,7 @@ $(cygwin-ug-net_SOURCES) charmap
 	$(AM_V_GEN)$(DOCBOOK2XTEXI) $(srcdir)/cygwin-ug-net.xml --string-param output-file=cygwin-ug-net
 cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.xsl
-	$(AM_V_GEN)$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $<
+	$(AM_V_GEN)$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $(XMLTO_HTML_CHUNK_QUIET) $<
 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) $<
@@ -153,7 +155,7 @@ intro2man.stamp: intro.xml man.xsl
 	@touch $@
 faq/faq.html: $(faq_SOURCES) html.xsl
-	$(AM_V_GEN)$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(srcdir)/faq.xml
+	$(AM_V_GEN)$(XMLTO) html -o faq -m $(srcdir)/html.xsl $(XMLTO_HTML_CHUNK_QUIET) $(srcdir)/faq.xml
 	@sed -i 's;<a name="id[mp][0-9]*"></a>;;g' faq/faq.html
 # faq body is not installed, but is intended to be deployed to website, where it

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-19 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 17:15 [newlib-cygwin] Cygwin: silence xsltproc when writing chunked html Jon TURNEY

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).