summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-15 12:14:28 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-15 12:14:28 +0100
commit37eb4e2b9391af2aa9f446c9be6c1126f97a1f47 (patch)
treec1d01f713bc83b75d648ce660c663dfa38f75c6b
parent94c2a3c0ab1823639a0f11fdc9e4bb9e49b07609 (diff)
downloadpoky-37eb4e2b9391af2aa9f446c9be6c1126f97a1f47.tar.gz
documentation/handbook: Tweak Makefiles and paths after path changes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--documentation/poky-ref-manual/Makefile6
-rw-r--r--documentation/poky-ref-manual/bsp-guide.xml2
-rw-r--r--documentation/poky-ref-manual/poky-handbook.xml2
-rw-r--r--documentation/template/fop-config.xml4
-rwxr-xr-xdocumentation/tools/poky-docbook-to-pdf6
5 files changed, 12 insertions, 8 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile
index 0ee87a133c..5c5761c401 100644
--- a/documentation/poky-ref-manual/Makefile
+++ b/documentation/poky-ref-manual/Makefile
@@ -1,12 +1,12 @@
1all: html pdf tarball 1all: html pdf tarball
2 2
3pdf: 3pdf:
4 cd ..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/poky-handbook.xml ./template 4 ../tools/poky-docbook-to-pdf poky-handbook.xml ../template
5 cd ..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/bsp-guide.xml ./template 5 ../tools/poky-docbook-to-pdf bsp-guide.xml ../template
6 6
7XSLTOPTS = --stringparam html.stylesheet style.css \ 7XSLTOPTS = --stringparam html.stylesheet style.css \
8 --stringparam chapter.autolabel 1 \ 8 --stringparam chapter.autolabel 1 \
9 --stringparam appendix.autolabel 1 \ 9 --stringparam appendix.autolabel A \
10 --stringparam section.autolabel 1 \ 10 --stringparam section.autolabel 1 \
11 --stringparam section.label.includes.component.label 1 \ 11 --stringparam section.label.includes.component.label 1 \
12 --xinclude 12 --xinclude
diff --git a/documentation/poky-ref-manual/bsp-guide.xml b/documentation/poky-ref-manual/bsp-guide.xml
index 2f4906c173..a1752bf535 100644
--- a/documentation/poky-ref-manual/bsp-guide.xml
+++ b/documentation/poky-ref-manual/bsp-guide.xml
@@ -9,7 +9,7 @@
9 9
10 <mediaobject> 10 <mediaobject>
11 <imageobject> 11 <imageobject>
12 <imagedata fileref='template/poky-handbook.png' 12 <imagedata fileref='poky-handbook.png'
13 format='SVG' 13 format='SVG'
14 align='center' scalefit='1' width='100%'/> 14 align='center' scalefit='1' width='100%'/>
15 </imageobject> 15 </imageobject>
diff --git a/documentation/poky-ref-manual/poky-handbook.xml b/documentation/poky-ref-manual/poky-handbook.xml
index fb2bc80df3..445217c786 100644
--- a/documentation/poky-ref-manual/poky-handbook.xml
+++ b/documentation/poky-ref-manual/poky-handbook.xml
@@ -9,7 +9,7 @@
9 9
10 <mediaobject> 10 <mediaobject>
11 <imageobject> 11 <imageobject>
12 <imagedata fileref='template/poky-handbook.png' 12 <imagedata fileref='poky-handbook.png'
13 format='SVG' 13 format='SVG'
14 align='center' scalefit='1' width='100%'/> 14 align='center' scalefit='1' width='100%'/>
15 </imageobject> 15 </imageobject>
diff --git a/documentation/template/fop-config.xml b/documentation/template/fop-config.xml
index 7d56223d17..09cc5ca0f5 100644
--- a/documentation/template/fop-config.xml
+++ b/documentation/template/fop-config.xml
@@ -10,8 +10,8 @@
10 Set the baseDir so common/openedhand.svg references in plans still 10 Set the baseDir so common/openedhand.svg references in plans still
11 work ok. Note, relative file references to current dir should still work. 11 work ok. Note, relative file references to current dir should still work.
12 --> 12 -->
13 <base>template</base> 13 <base>../template</base>
14 <font-base>template</font-base> 14 <font-base>../template</font-base>
15 15
16 <!-- Source resolution in dpi (dots/pixels per inch) for determining the 16 <!-- Source resolution in dpi (dots/pixels per inch) for determining the
17 size of pixels in SVG and bitmap images, default: 72dpi --> 17 size of pixels in SVG and bitmap images, default: 72dpi -->
diff --git a/documentation/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf
index aa221c02bc..9ac0b828cf 100755
--- a/documentation/tools/poky-docbook-to-pdf
+++ b/documentation/tools/poky-docbook-to-pdf
@@ -30,11 +30,15 @@ xsltproc --xinclude \
30 --stringparam body.font.master 9 \ 30 --stringparam body.font.master 9 \
31 --stringparam title.font.master 11 \ 31 --stringparam title.font.master 11 \
32 --stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \ 32 --stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
33 --stringparam chapter.autolabel 1 \
34 --stringparam appendix.autolabel A \
35 --stringparam section.autolabel 1 \
36 --stringparam section.label.includes.component.label 1 \
33 --output $FO \ 37 --output $FO \
34 $TEMPLATEDIR/poky-db-pdf.xsl \ 38 $TEMPLATEDIR/poky-db-pdf.xsl \
35 $1 || exit 1 39 $1 || exit 1
36 40
37echo fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1 41
38fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1 42fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
39 43
40rm -f $FO 44rm -f $FO