diff options
-rw-r--r-- | documentation/Makefile | 4 | ||||
-rwxr-xr-x | documentation/mega-manual/mega-manual.xml | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index e59b9bb07c8..16e6289da00 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -60,6 +60,8 @@ # documentation tree, and enabled tens of thousands of developers to succeed with # embedded Linux. He ran this Makefile many thousands of times. Godspeed, Dude. +BBPATH := ../.. + ifeq ($(DOC),brief-yoctoprojectqs) XSLTOPTS = --stringparam html.stylesheet brief-yoctoprojectqs-style.css \ --stringparam chapter.autolabel 0 \ @@ -300,6 +302,8 @@ ifeq ($(DOC),mega-manual) @echo " " @echo "******** Building "$(DOC) @echo " " + sed -i -e "s:<!ENTITY BBPATH.*::" poky.ent + echo '<!ENTITY BBPATH "${BBPATH}">' >> poky.ent cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd .. @echo " " @echo "******** Using mega-manual.sed to process external links" diff --git a/documentation/mega-manual/mega-manual.xml b/documentation/mega-manual/mega-manual.xml index 622680dc203..00e882b974f 100755 --- a/documentation/mega-manual/mega-manual.xml +++ b/documentation/mega-manual/mega-manual.xml @@ -230,22 +230,22 @@ </para> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml"/> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml"/> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml"/> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.xml"/> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml"/> <xi:include - xmlns:xi="http://www.w3.org/2003/XInclude" href="../../bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml"/> + xmlns:xi="http://www.w3.org/2003/XInclude" href="&BBPATH;/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml"/> </book> |