From 22083287912ebd552e33b79f7c567bc966376d43 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 15 Oct 2010 11:55:59 +0100 Subject: [PATCH] handbook: Move into documentation directory Signed-off-by: Richard Purdie --- .../poky-ref-manual}/Makefile | 4 +- .../poky-ref-manual}/TODO | 0 .../poky-ref-manual}/bsp-guide.xml | 0 .../poky-ref-manual}/bsp.xml | 0 .../poky-ref-manual}/development.xml | 0 .../examples/hello-autotools/hello_2.3.bb | 0 .../examples/hello-single/files/helloworld.c | 0 .../examples/hello-single/hello.bb | 0 .../examples/libxpm/libxpm_3.5.6.bb | 0 .../examples/mtd-makefile/mtd-utils_1.0.0.bb | 0 .../poky-ref-manual}/extendpoky.xml | 0 .../poky-ref-manual}/faq.xml | 0 .../poky-ref-manual}/introduction.xml | 0 .../poky-ref-manual}/poky-beaver.png | Bin .../poky-ref-manual}/poky-handbook.png | Bin .../poky-ref-manual}/poky-handbook.xml | 0 .../poky-ref-manual}/poky-logo.svg | 0 .../poky-ref-manual}/ref-bitbake.xml | 0 .../poky-ref-manual}/ref-classes.xml | 0 .../poky-ref-manual}/ref-features.xml | 0 .../poky-ref-manual}/ref-images.xml | 0 .../poky-ref-manual}/ref-structure.xml | 0 .../poky-ref-manual}/ref-variables.xml | 0 .../poky-ref-manual}/ref-varlocality.xml | 0 .../poky-ref-manual}/resources.xml | 0 .../screenshots/ss-anjuta-poky-1.png | Bin .../screenshots/ss-anjuta-poky-2.png | Bin .../screenshots/ss-oprofile-viewer.png | Bin .../poky-ref-manual}/screenshots/ss-sato.png | Bin .../poky-ref-manual}/style.css | 0 .../poky-ref-manual}/usingpoky.xml | 0 {handbook => documentation}/template/Vera.ttf | Bin {handbook => documentation}/template/Vera.xml | 0 .../template/VeraMoBd.ttf | Bin .../template/VeraMoBd.xml | 0 .../template/VeraMono.ttf | Bin .../template/VeraMono.xml | 0 .../template/draft.png | Bin .../template/fop-config.xml | 0 .../template/ohand-color.svg | 0 .../template/poky-db-pdf.xsl | 0 .../template/poky-handbook.png | Bin {handbook => documentation}/template/poky.svg | 0 .../template/titlepage.templates.xml | 0 .../tools/poky-docbook-to-pdf | 6 +-- handbook/ChangeLog | 38 ------------------ 46 files changed, 5 insertions(+), 43 deletions(-) rename {handbook => documentation/poky-ref-manual}/Makefile (88%) rename {handbook => documentation/poky-ref-manual}/TODO (100%) rename {handbook => documentation/poky-ref-manual}/bsp-guide.xml (100%) rename {handbook => documentation/poky-ref-manual}/bsp.xml (100%) rename {handbook => documentation/poky-ref-manual}/development.xml (100%) rename {handbook => documentation/poky-ref-manual}/examples/hello-autotools/hello_2.3.bb (100%) rename {handbook => documentation/poky-ref-manual}/examples/hello-single/files/helloworld.c (100%) rename {handbook => documentation/poky-ref-manual}/examples/hello-single/hello.bb (100%) rename {handbook => documentation/poky-ref-manual}/examples/libxpm/libxpm_3.5.6.bb (100%) rename {handbook => documentation/poky-ref-manual}/examples/mtd-makefile/mtd-utils_1.0.0.bb (100%) rename {handbook => documentation/poky-ref-manual}/extendpoky.xml (100%) rename {handbook => documentation/poky-ref-manual}/faq.xml (100%) rename {handbook => documentation/poky-ref-manual}/introduction.xml (100%) rename {handbook => documentation/poky-ref-manual}/poky-beaver.png (100%) rename {handbook => documentation/poky-ref-manual}/poky-handbook.png (100%) rename {handbook => documentation/poky-ref-manual}/poky-handbook.xml (100%) rename {handbook => documentation/poky-ref-manual}/poky-logo.svg (100%) rename {handbook => documentation/poky-ref-manual}/ref-bitbake.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-classes.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-features.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-images.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-structure.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-variables.xml (100%) rename {handbook => documentation/poky-ref-manual}/ref-varlocality.xml (100%) rename {handbook => documentation/poky-ref-manual}/resources.xml (100%) rename {handbook => documentation/poky-ref-manual}/screenshots/ss-anjuta-poky-1.png (100%) rename {handbook => documentation/poky-ref-manual}/screenshots/ss-anjuta-poky-2.png (100%) rename {handbook => documentation/poky-ref-manual}/screenshots/ss-oprofile-viewer.png (100%) rename {handbook => documentation/poky-ref-manual}/screenshots/ss-sato.png (100%) rename {handbook => documentation/poky-ref-manual}/style.css (100%) rename {handbook => documentation/poky-ref-manual}/usingpoky.xml (100%) rename {handbook => documentation}/template/Vera.ttf (100%) rename {handbook => documentation}/template/Vera.xml (100%) rename {handbook => documentation}/template/VeraMoBd.ttf (100%) rename {handbook => documentation}/template/VeraMoBd.xml (100%) rename {handbook => documentation}/template/VeraMono.ttf (100%) rename {handbook => documentation}/template/VeraMono.xml (100%) rename {handbook => documentation}/template/draft.png (100%) rename {handbook => documentation}/template/fop-config.xml (100%) rename {handbook => documentation}/template/ohand-color.svg (100%) rename {handbook => documentation}/template/poky-db-pdf.xsl (100%) rename {handbook => documentation}/template/poky-handbook.png (100%) rename {handbook => documentation}/template/poky.svg (100%) rename {handbook => documentation}/template/titlepage.templates.xml (100%) rename {handbook => documentation}/tools/poky-docbook-to-pdf (89%) delete mode 100644 handbook/ChangeLog diff --git a/handbook/Makefile b/documentation/poky-ref-manual/Makefile similarity index 88% rename from handbook/Makefile rename to documentation/poky-ref-manual/Makefile index 4b3035e796..b023045d0e 100644 --- a/handbook/Makefile +++ b/documentation/poky-ref-manual/Makefile @@ -1,8 +1,8 @@ all: html pdf tarball pdf: - ./tools/poky-docbook-to-pdf poky-handbook.xml ./template - ./tools/poky-docbook-to-pdf bsp-guide.xml ./template + cd ..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/poky-handbook.xml ./template + cd..; ./tools/poky-docbook-to-pdf ./poky-ref-manual/bsp-guide.xml ./template XSLTOPTS = --stringparam html.stylesheet style.css \ --stringparam chapter.autolabel 1 \ diff --git a/handbook/TODO b/documentation/poky-ref-manual/TODO similarity index 100% rename from handbook/TODO rename to documentation/poky-ref-manual/TODO diff --git a/handbook/bsp-guide.xml b/documentation/poky-ref-manual/bsp-guide.xml similarity index 100% rename from handbook/bsp-guide.xml rename to documentation/poky-ref-manual/bsp-guide.xml diff --git a/handbook/bsp.xml b/documentation/poky-ref-manual/bsp.xml similarity index 100% rename from handbook/bsp.xml rename to documentation/poky-ref-manual/bsp.xml diff --git a/handbook/development.xml b/documentation/poky-ref-manual/development.xml similarity index 100% rename from handbook/development.xml rename to documentation/poky-ref-manual/development.xml diff --git a/handbook/examples/hello-autotools/hello_2.3.bb b/documentation/poky-ref-manual/examples/hello-autotools/hello_2.3.bb similarity index 100% rename from handbook/examples/hello-autotools/hello_2.3.bb rename to documentation/poky-ref-manual/examples/hello-autotools/hello_2.3.bb diff --git a/handbook/examples/hello-single/files/helloworld.c b/documentation/poky-ref-manual/examples/hello-single/files/helloworld.c similarity index 100% rename from handbook/examples/hello-single/files/helloworld.c rename to documentation/poky-ref-manual/examples/hello-single/files/helloworld.c diff --git a/handbook/examples/hello-single/hello.bb b/documentation/poky-ref-manual/examples/hello-single/hello.bb similarity index 100% rename from handbook/examples/hello-single/hello.bb rename to documentation/poky-ref-manual/examples/hello-single/hello.bb diff --git a/handbook/examples/libxpm/libxpm_3.5.6.bb b/documentation/poky-ref-manual/examples/libxpm/libxpm_3.5.6.bb similarity index 100% rename from handbook/examples/libxpm/libxpm_3.5.6.bb rename to documentation/poky-ref-manual/examples/libxpm/libxpm_3.5.6.bb diff --git a/handbook/examples/mtd-makefile/mtd-utils_1.0.0.bb b/documentation/poky-ref-manual/examples/mtd-makefile/mtd-utils_1.0.0.bb similarity index 100% rename from handbook/examples/mtd-makefile/mtd-utils_1.0.0.bb rename to documentation/poky-ref-manual/examples/mtd-makefile/mtd-utils_1.0.0.bb diff --git a/handbook/extendpoky.xml b/documentation/poky-ref-manual/extendpoky.xml similarity index 100% rename from handbook/extendpoky.xml rename to documentation/poky-ref-manual/extendpoky.xml diff --git a/handbook/faq.xml b/documentation/poky-ref-manual/faq.xml similarity index 100% rename from handbook/faq.xml rename to documentation/poky-ref-manual/faq.xml diff --git a/handbook/introduction.xml b/documentation/poky-ref-manual/introduction.xml similarity index 100% rename from handbook/introduction.xml rename to documentation/poky-ref-manual/introduction.xml diff --git a/handbook/poky-beaver.png b/documentation/poky-ref-manual/poky-beaver.png similarity index 100% rename from handbook/poky-beaver.png rename to documentation/poky-ref-manual/poky-beaver.png diff --git a/handbook/poky-handbook.png b/documentation/poky-ref-manual/poky-handbook.png similarity index 100% rename from handbook/poky-handbook.png rename to documentation/poky-ref-manual/poky-handbook.png diff --git a/handbook/poky-handbook.xml b/documentation/poky-ref-manual/poky-handbook.xml similarity index 100% rename from handbook/poky-handbook.xml rename to documentation/poky-ref-manual/poky-handbook.xml diff --git a/handbook/poky-logo.svg b/documentation/poky-ref-manual/poky-logo.svg similarity index 100% rename from handbook/poky-logo.svg rename to documentation/poky-ref-manual/poky-logo.svg diff --git a/handbook/ref-bitbake.xml b/documentation/poky-ref-manual/ref-bitbake.xml similarity index 100% rename from handbook/ref-bitbake.xml rename to documentation/poky-ref-manual/ref-bitbake.xml diff --git a/handbook/ref-classes.xml b/documentation/poky-ref-manual/ref-classes.xml similarity index 100% rename from handbook/ref-classes.xml rename to documentation/poky-ref-manual/ref-classes.xml diff --git a/handbook/ref-features.xml b/documentation/poky-ref-manual/ref-features.xml similarity index 100% rename from handbook/ref-features.xml rename to documentation/poky-ref-manual/ref-features.xml diff --git a/handbook/ref-images.xml b/documentation/poky-ref-manual/ref-images.xml similarity index 100% rename from handbook/ref-images.xml rename to documentation/poky-ref-manual/ref-images.xml diff --git a/handbook/ref-structure.xml b/documentation/poky-ref-manual/ref-structure.xml similarity index 100% rename from handbook/ref-structure.xml rename to documentation/poky-ref-manual/ref-structure.xml diff --git a/handbook/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml similarity index 100% rename from handbook/ref-variables.xml rename to documentation/poky-ref-manual/ref-variables.xml diff --git a/handbook/ref-varlocality.xml b/documentation/poky-ref-manual/ref-varlocality.xml similarity index 100% rename from handbook/ref-varlocality.xml rename to documentation/poky-ref-manual/ref-varlocality.xml diff --git a/handbook/resources.xml b/documentation/poky-ref-manual/resources.xml similarity index 100% rename from handbook/resources.xml rename to documentation/poky-ref-manual/resources.xml diff --git a/handbook/screenshots/ss-anjuta-poky-1.png b/documentation/poky-ref-manual/screenshots/ss-anjuta-poky-1.png similarity index 100% rename from handbook/screenshots/ss-anjuta-poky-1.png rename to documentation/poky-ref-manual/screenshots/ss-anjuta-poky-1.png diff --git a/handbook/screenshots/ss-anjuta-poky-2.png b/documentation/poky-ref-manual/screenshots/ss-anjuta-poky-2.png similarity index 100% rename from handbook/screenshots/ss-anjuta-poky-2.png rename to documentation/poky-ref-manual/screenshots/ss-anjuta-poky-2.png diff --git a/handbook/screenshots/ss-oprofile-viewer.png b/documentation/poky-ref-manual/screenshots/ss-oprofile-viewer.png similarity index 100% rename from handbook/screenshots/ss-oprofile-viewer.png rename to documentation/poky-ref-manual/screenshots/ss-oprofile-viewer.png diff --git a/handbook/screenshots/ss-sato.png b/documentation/poky-ref-manual/screenshots/ss-sato.png similarity index 100% rename from handbook/screenshots/ss-sato.png rename to documentation/poky-ref-manual/screenshots/ss-sato.png diff --git a/handbook/style.css b/documentation/poky-ref-manual/style.css similarity index 100% rename from handbook/style.css rename to documentation/poky-ref-manual/style.css diff --git a/handbook/usingpoky.xml b/documentation/poky-ref-manual/usingpoky.xml similarity index 100% rename from handbook/usingpoky.xml rename to documentation/poky-ref-manual/usingpoky.xml diff --git a/handbook/template/Vera.ttf b/documentation/template/Vera.ttf similarity index 100% rename from handbook/template/Vera.ttf rename to documentation/template/Vera.ttf diff --git a/handbook/template/Vera.xml b/documentation/template/Vera.xml similarity index 100% rename from handbook/template/Vera.xml rename to documentation/template/Vera.xml diff --git a/handbook/template/VeraMoBd.ttf b/documentation/template/VeraMoBd.ttf similarity index 100% rename from handbook/template/VeraMoBd.ttf rename to documentation/template/VeraMoBd.ttf diff --git a/handbook/template/VeraMoBd.xml b/documentation/template/VeraMoBd.xml similarity index 100% rename from handbook/template/VeraMoBd.xml rename to documentation/template/VeraMoBd.xml diff --git a/handbook/template/VeraMono.ttf b/documentation/template/VeraMono.ttf similarity index 100% rename from handbook/template/VeraMono.ttf rename to documentation/template/VeraMono.ttf diff --git a/handbook/template/VeraMono.xml b/documentation/template/VeraMono.xml similarity index 100% rename from handbook/template/VeraMono.xml rename to documentation/template/VeraMono.xml diff --git a/handbook/template/draft.png b/documentation/template/draft.png similarity index 100% rename from handbook/template/draft.png rename to documentation/template/draft.png diff --git a/handbook/template/fop-config.xml b/documentation/template/fop-config.xml similarity index 100% rename from handbook/template/fop-config.xml rename to documentation/template/fop-config.xml diff --git a/handbook/template/ohand-color.svg b/documentation/template/ohand-color.svg similarity index 100% rename from handbook/template/ohand-color.svg rename to documentation/template/ohand-color.svg diff --git a/handbook/template/poky-db-pdf.xsl b/documentation/template/poky-db-pdf.xsl similarity index 100% rename from handbook/template/poky-db-pdf.xsl rename to documentation/template/poky-db-pdf.xsl diff --git a/handbook/template/poky-handbook.png b/documentation/template/poky-handbook.png similarity index 100% rename from handbook/template/poky-handbook.png rename to documentation/template/poky-handbook.png diff --git a/handbook/template/poky.svg b/documentation/template/poky.svg similarity index 100% rename from handbook/template/poky.svg rename to documentation/template/poky.svg diff --git a/handbook/template/titlepage.templates.xml b/documentation/template/titlepage.templates.xml similarity index 100% rename from handbook/template/titlepage.templates.xml rename to documentation/template/titlepage.templates.xml diff --git a/handbook/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf similarity index 89% rename from handbook/tools/poky-docbook-to-pdf rename to documentation/tools/poky-docbook-to-pdf index 8e3d7542f7..aa221c02bc 100755 --- a/handbook/tools/poky-docbook-to-pdf +++ b/documentation/tools/poky-docbook-to-pdf @@ -9,9 +9,8 @@ if [ -z "$1" -o -z "$2" ]; then exit 0 fi -BASENAME=`basename $1 .xml` || exit 1 -FO="$BASENAME.fo" -PDF="$BASENAME.pdf" +FO=`echo $1 | sed s/.xml/.fo/` || exit 1 +PDF=`echo $1 | sed s/.xml/.pdf/` || exit 1 TEMPLATEDIR=$2 ## @@ -35,6 +34,7 @@ xsltproc --xinclude \ $TEMPLATEDIR/poky-db-pdf.xsl \ $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 rm -f $FO diff --git a/handbook/ChangeLog b/handbook/ChangeLog deleted file mode 100644 index e0b51d4a12..0000000000 --- a/handbook/ChangeLog +++ /dev/null @@ -1,38 +0,0 @@ -2008-02-29 Matthew Allum - - * development.xml: - Disable images too big / lack context for now. - * introduction.xml: - Remove some OH specific stuff. - * style.css: - Remove limit on image size - -2008-02-15 Matthew Allum - - * introduction.xml: - Minor tweaks to 'What is Poky' - -2008-02-15 Matthew Allum - - * poky-handbook.xml: - * poky-handbook.png - * poky-beaver.png - * poky-logo.svg: - * style.css: - Add some title images. - -2008-02-14 Matthew Allum - - * development.xml: - remove uri's - * style.css: - Fix glossary - -2008-02-06 Matthew Allum - - * Makefile: - Add various xslto options for html. - * introduction.xml: - Remove link in title. - * style.css: - Add initial version