Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-01-18 23:52:46 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2022-01-19 20:14:48 +0300
commit0f29c6fc3c0f6318315cc77ae0a70ce8122cb9a3 (patch)
treee50a5127c275c3feddbd54cc18a377d731f2f14f /winsup/doc
parent2ede7d11e1a3a0eecf6d6c93bf79cd45f6d93ac8 (diff)
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.
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/doc/Makefile.am b/winsup/doc/Makefile.am
index fb3ab711c..650e0c924 100644
--- a/winsup/doc/Makefile.am
+++ b/winsup/doc/Makefile.am
@@ -21,6 +21,8 @@ XMLTO_DBLATEX_QUIET_=-p '-q'
XMLTO_DBLATEX_QUIET=$(XMLTO_DBLATEX_QUIET_$(V))
XMLTO_HTML_CHUNK_QUIET_=--stringparam chunk.quietly=1
XMLTO_HTML_CHUNK_QUIET=$(XMLTO_HTML_CHUNK_QUIET_$(V))
+XMLTO_MAN_QUIET_=--stringparam man.output.quietly=1
+XMLTO_MAN_QUIET=$(XMLTO_MAN_QUIET_$(V))
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.info: $(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.info: $(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 $@