docs-common/packaging bookinfo.xsl,1.26,1.27
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Sat Jul 15 15:20:49 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11525/docs-common/packaging
Modified Files:
bookinfo.xsl
Log Message:
Allow legalnotice hacks in a more make-friendly way when necessary, since relnotes may not be the only document in need.
Index: bookinfo.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/bookinfo.xsl,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- bookinfo.xsl 12 Jul 2006 04:06:59 -0000 1.26
+++ bookinfo.xsl 15 Jul 2006 15:20:46 -0000 1.27
@@ -5,6 +5,7 @@
<xsl:param name="doctype" select="'bookinfo'"/>
<xsl:param name="who" select="''"/>
<xsl:param name="fdpdir" select="'../..'"/>
+ <xsl:param name="legalbase" select="'legalnotice-opl'"/>
<xsl:output encoding="UTF-8" indent="yes" method="xml"
omit-xml-declaration="no" version="1.0"
@@ -87,9 +88,10 @@
<xsl:when test="/rpm-info/license/rights='OPL'">
<xsl:element name="xi:include"
namespace="http://www.w3.org/2001/XInclude"><xsl:attribute
- name="href"><xsl:value-of
- select="$fdpdir"/>/docs-common/common/legalnotice-opl-<xsl:value-of
- select="$lang"/>.xml</xsl:attribute></xsl:element>
+ name="href"><xsl:value-of
+ select="$fdpdir"/>/docs-common/common/<xsl:value-of
+ select="$legalbase"/>-<xsl:value-of
+ select="$lang"/>.xml</xsl:attribute></xsl:element>
</xsl:when>
<xsl:otherwise> <!-- assume OPL for now -->
<xsl:element name="xi:include"
More information about the Fedora-docs-commits
mailing list