diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/changes.xsls | 5 | ||||
-rw-r--r-- | docs/changes.xslt | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/changes.xsls b/docs/changes.xsls index f2ba1c8e..2f3bcc46 100644 --- a/docs/changes.xsls +++ b/docs/changes.xsls @@ -63,6 +63,9 @@ X:template = "changes" { X:var apply = { !string_in_list(list="@apply", string="$pkgname") } X:var pkgname_ = { !beautify(pkgname="$pkgname") } + X:choose { + X:when "$pkgname='unit' and $format='generic' and @rev!=1" {} + X:otherwise { X:if "$apply=$pkgname" { X:if "$format='generic'" { @@ -112,6 +115,8 @@ X:template = "changes" { X:text { } } } + } + } } diff --git a/docs/changes.xslt b/docs/changes.xslt index 22abb656..032d5c37 100644 --- a/docs/changes.xslt +++ b/docs/changes.xslt @@ -64,6 +64,9 @@ <xsl:variable name="apply"> <xsl:call-template name="string_in_list"><xsl:with-param select="@apply" name="list"/><xsl:with-param select="$pkgname" name="string"/></xsl:call-template></xsl:variable> <xsl:variable name="pkgname_"> <xsl:call-template name="beautify"><xsl:with-param select="$pkgname" name="pkgname"/></xsl:call-template></xsl:variable> + <xsl:choose> + <xsl:when test="$pkgname='unit' and $format='generic' and @rev!=1"/> + <xsl:otherwise> <xsl:if test="$apply=$pkgname"> <xsl:if test="$format='generic'"> @@ -113,6 +116,8 @@ <xsl:text> </xsl:text> </xsl:if> </xsl:if> + </xsl:otherwise> + </xsl:choose> </xsl:template> |