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 /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 'xsl')
-rw-r--r-- | xsl/main-pdf.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xsl/main-pdf.xsl b/xsl/main-pdf.xsl index a749ce3..a75c865 100644 --- a/xsl/main-pdf.xsl +++ b/xsl/main-pdf.xsl @@ -15,17 +15,17 @@ <xsl:param name="section.autolabel" select="1"/> <xsl:param name="fop.extensions" select="0"/> -<xsl:param name="FDPDIR">..</xsl:param> +<xsl:param name="FDPCOMMONDIR">docs-common</xsl:param> <!-- THIS MUST BE AN ABSOLUTE PATH OR URL; PDF GETS BUILT IN A TMPDIR --> <xsl:param name="callout.graphics.path"> <xsl:value-of - select="concat( $FDPDIR, '/docs-common/stylesheet-images/' )"/> + select="concat( $FDPCOMMONDIR, '/stylesheet-images/' )"/> </xsl:param> <xsl:param name="admon.graphics.path"> <xsl:value-of - select="concat( $FDPDIR, '/docs-common/stylesheet-images/' )"/> + select="concat( $FDPCOMMONDIR, '/stylesheet-images/' )"/> </xsl:param> <!-- FIXME --> @@ -57,7 +57,7 @@ <xsl:attribute name="margin-right">0in</xsl:attribute> <xsl:attribute name="background-repeat">no-repeat</xsl:attribute> <xsl:attribute name="background-image"> - <xsl:value-of select="concat( $FDPDIR, '/docs-common/stylesheet-images/titlepage.png' )"/> + <xsl:value-of select="concat( $FDPCOMMONDIR, '/stylesheet-images/titlepage.png' )"/> </xsl:attribute> </xsl:element> <fo:region-before extent="0pt" display-align="after" region-name="xsl-region-before-first"/> |