From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 668B43857C77; Wed, 19 Jan 2022 17:15:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 668B43857C77 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon TURNEY To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: silence dblatex when building PDFs X-Act-Checkin: newlib-cygwin X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 9c546e0fd257a3d13aad855a4004dba75420b6b9 X-Git-Newrev: c344628a691fb982a807c86a32af14ff69360e33 Message-Id: <20220119171522.668B43857C77@sourceware.org> Date: Wed, 19 Jan 2022 17:15:22 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 17:15:22 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dc344628a691= fb982a807c86a32af14ff69360e33 commit c344628a691fb982a807c86a32af14ff69360e33 Author: Jon Turney Date: Tue Jan 18 18:17:38 2022 +0000 Cygwin: silence dblatex when building PDFs =20 Unless make is invoked with V=3D1, have xmlto pass '-q' to dblatex when building PDFs, to supress repeated "default template used in programlisting or screen" warnings from dblatex's verbatim.xsl stylesheet. Diff: --- 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 =3D \ htmldir =3D $(datarootdir)/doc =20 XMLTO=3D@XMLTO@ --skip-validation --with-dblatex +XMLTO_DBLATEX_QUIET_=3D-p '-q' +XMLTO_DBLATEX_QUIET=3D$(XMLTO_DBLATEX_QUIET_$(V)) + DOCBOOK2XTEXI=3D@DOCBOOK2XTEXI@ --xinclude --info --utf8trans-map=3Dcharmap =20 -include Makefile.dep @@ -117,7 +120,7 @@ cygwin-ug-net/cygwin-ug-net.html: $(cygwin-ug-net_SOURC= ES) html.xsl $(AM_V_GEN)$(XMLTO) html -o cygwin-ug-net/ -m $(srcdir)/html.xsl $< =20 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 $< + $(AM_V_GEN)$(XMLTO) pdf -o cygwin-ug-net/ -m $(srcdir)/fo.xsl $(XMLTO_DBL= ATEX_QUIET) $< =20 utils2man.stamp: $(cygwin-ug-net_SOURCES) man.xsl $(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $< @@ -130,7 +133,7 @@ cygwin-api/cygwin-api.html: $(cygwin-api_SOURCES) html.= xsl $(AM_V_GEN)$(XMLTO) html -o cygwin-api/ -m $(srcdir)/html.xsl $< =20 cygwin-api/cygwin-api.pdf: $(cygwin-api_SOURCES) fo.xsl - $(AM_V_GEN)$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $< + $(AM_V_GEN)$(XMLTO) pdf -o cygwin-api/ -m $(srcdir)/fo.xsl $(XMLTO_DBLATE= X_QUIET) $< =20 api2man.stamp: $(cygwin-api_SOURCES) man.xsl $(AM_V_GEN)$(XMLTO) man -m $(srcdir)/man.xsl $<