documentation/handbook: Tweak Makefiles and paths after path changes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
94c2a3c0ab
commit
37eb4e2b93
|
@ -1,12 +1,12 @@
|
||||||
all: html pdf tarball
|
all: html pdf tarball
|
||||||
|
|
||||||
pdf:
|
pdf:
|
||||||
cd ..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/poky-handbook.xml ./template
|
../tools/poky-docbook-to-pdf poky-handbook.xml ../template
|
||||||
cd ..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/bsp-guide.xml ./template
|
../tools/poky-docbook-to-pdf bsp-guide.xml ../template
|
||||||
|
|
||||||
XSLTOPTS = --stringparam html.stylesheet style.css \
|
XSLTOPTS = --stringparam html.stylesheet style.css \
|
||||||
--stringparam chapter.autolabel 1 \
|
--stringparam chapter.autolabel 1 \
|
||||||
--stringparam appendix.autolabel 1 \
|
--stringparam appendix.autolabel A \
|
||||||
--stringparam section.autolabel 1 \
|
--stringparam section.autolabel 1 \
|
||||||
--stringparam section.label.includes.component.label 1 \
|
--stringparam section.label.includes.component.label 1 \
|
||||||
--xinclude
|
--xinclude
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
<imagedata fileref='template/poky-handbook.png'
|
<imagedata fileref='poky-handbook.png'
|
||||||
format='SVG'
|
format='SVG'
|
||||||
align='center' scalefit='1' width='100%'/>
|
align='center' scalefit='1' width='100%'/>
|
||||||
</imageobject>
|
</imageobject>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
<imagedata fileref='template/poky-handbook.png'
|
<imagedata fileref='poky-handbook.png'
|
||||||
format='SVG'
|
format='SVG'
|
||||||
align='center' scalefit='1' width='100%'/>
|
align='center' scalefit='1' width='100%'/>
|
||||||
</imageobject>
|
</imageobject>
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
Set the baseDir so common/openedhand.svg references in plans still
|
Set the baseDir so common/openedhand.svg references in plans still
|
||||||
work ok. Note, relative file references to current dir should still work.
|
work ok. Note, relative file references to current dir should still work.
|
||||||
-->
|
-->
|
||||||
<base>template</base>
|
<base>../template</base>
|
||||||
<font-base>template</font-base>
|
<font-base>../template</font-base>
|
||||||
|
|
||||||
<!-- Source resolution in dpi (dots/pixels per inch) for determining the
|
<!-- Source resolution in dpi (dots/pixels per inch) for determining the
|
||||||
size of pixels in SVG and bitmap images, default: 72dpi -->
|
size of pixels in SVG and bitmap images, default: 72dpi -->
|
||||||
|
|
|
@ -30,11 +30,15 @@ xsltproc --xinclude \
|
||||||
--stringparam body.font.master 9 \
|
--stringparam body.font.master 9 \
|
||||||
--stringparam title.font.master 11 \
|
--stringparam title.font.master 11 \
|
||||||
--stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
|
--stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
|
||||||
|
--stringparam chapter.autolabel 1 \
|
||||||
|
--stringparam appendix.autolabel A \
|
||||||
|
--stringparam section.autolabel 1 \
|
||||||
|
--stringparam section.label.includes.component.label 1 \
|
||||||
--output $FO \
|
--output $FO \
|
||||||
$TEMPLATEDIR/poky-db-pdf.xsl \
|
$TEMPLATEDIR/poky-db-pdf.xsl \
|
||||||
$1 || exit 1
|
$1 || exit 1
|
||||||
|
|
||||||
echo fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
|
|
||||||
fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
|
fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
|
||||||
|
|
||||||
rm -f $FO
|
rm -f $FO
|
||||||
|
|
Loading…
Reference in New Issue