diff options
author | Paul W. Frields <stickster@gmail.com> | 2007-03-12 00:08:35 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2007-03-12 00:08:35 +0000 |
commit | e0a03714553c6aca33824d315a266f3998090832 (patch) | |
tree | d146ff4be474c7c2f243982034f376fc14c68c76 /packaging/bookinfo.xsl | |
parent | 3197e330900a1778e2b2b19091f1218ab3eaf797 (diff) | |
download | fedora-doc-utils-e0a03714553c6aca33824d315a266f3998090832.tar.gz fedora-doc-utils-e0a03714553c6aca33824d315a266f3998090832.tar.xz fedora-doc-utils-e0a03714553c6aca33824d315a266f3998090832.zip |
Use new rule to locate docs-common and rely on this for most building, instead of a possibly nonexistent FDPDIR. This should make a module inclusion or a full repository checkout equally workable.
Diffstat (limited to 'packaging/bookinfo.xsl')
-rw-r--r-- | packaging/bookinfo.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl index fa574b1..7531df2 100644 --- a/packaging/bookinfo.xsl +++ b/packaging/bookinfo.xsl @@ -4,7 +4,7 @@ <xsl:param name="lang" select="'en'"/> <xsl:param name="doctype" select="'bookinfo'"/> <xsl:param name="who" select="''"/> - <xsl:param name="fdpdir" select="'../..'"/> + <xsl:param name="fdpcommondir" select="'..'"/> <xsl:param name="legalbase" select="'legalnotice-opl'"/> <xsl:output encoding="UTF-8" indent="yes" method="xml" @@ -71,7 +71,7 @@ <xsl:element name="xi:include" namespace="http://www.w3.org/2001/XInclude"><xsl:attribute name="href"><xsl:value-of - select="$fdpdir"/>/docs-common/common/<xsl:value-of + select="$fdpcommondir"/>/common/<xsl:value-of select="$legalbase"/>-<xsl:value-of select="$lang"/>.xml</xsl:attribute></xsl:element> </xsl:when> @@ -79,7 +79,7 @@ <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-<xsl:value-of + select="$fdpcommondir"/>/common/legalnotice-<xsl:value-of select="$lang"/>.xml</xsl:attribute></xsl:element> </xsl:otherwise> </xsl:choose> |