[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: quite processing output - hiding "computing chunks ..."
hi, I am working on a rather cosmetic feature request for gtk-doc: https://bugzilla.gnome.org/show_bug.cgi?id=590927 In order to have a silent build output if desired I am already passing these variable to the xsltprocessor. chunk.quietly $quiet chunker.output.quiet $quiet Still I get one line: "Computing chunks..." comming from Would it make sense to apply something like the patch below? Stefan --- chunk-common.xsl.orig 2011-04-14 10:42:19.497446000 +0300 +++ chunk-common.xsl 2011-04-14 10:45:08.741446000 +0300 @@ -30,14 +30,18 @@ <xsl:if test="$chunk.fast != 0"> <xsl:choose> <xsl:when test="$exsl.node.set.available != 0"> - <xsl:message>Computing chunks...</xsl:message> + <xsl:if test="$chunker.output.quiet = 0"> + <xsl:message>Computing chunks...</xsl:message> + </xsl:if> <xsl:apply-templates select="/*" mode="find.chunks"/> </xsl:when> <xsl:otherwise> - <xsl:message> - <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text> - <xsl:text>Using "slow" chunking.</xsl:text> - </xsl:message> + <xsl:if test="$chunker.output.quiet = 0"> + <xsl:message> + <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text> + <xsl:text>Using "slow" chunking.</xsl:text> + </xsl:message> + </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:if>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]