summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-07-15 15:20:46 +0000
committerPaul W. Frields <stickster@gmail.com>2006-07-15 15:20:46 +0000
commit6e7ee5aa90df41e9c8efa6d42c790747cfe92c67 (patch)
tree728081ec2d813c6af6920ef771d4bd94a3362b39 /packaging
parentecd77d697ed1318d3c7a1d7fdd4162df6a8aad04 (diff)
downloadfedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.tar.gz
fedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.tar.xz
fedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.zip
Allow legalnotice hacks in a more make-friendly way when necessary, since relnotes may not be the only document in need.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/bookinfo.xsl8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index 7c99fc1..884129a 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -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"