diff options
author | Lennart Johansson <lennart.johansson@enea.com> | 2016-06-02 13:41:16 +0200 |
---|---|---|
committer | Lennart Johansson <lennart.johansson@enea.com> | 2016-06-02 13:41:16 +0200 |
commit | 8decb3267be14596c377155d6bc84a0eb61f04e9 (patch) | |
tree | 48ce3df49e534a55457e6a06d88cfcab57eff1e5 /doc/docsrc_common | |
parent | ac10f04eef9b8dfc5d38978f78f4bc6710ea7525 (diff) | |
download | el_manifests-networking-8decb3267be14596c377155d6bc84a0eb61f04e9.tar.gz |
Doc Add autovariables from manifest, poky.ent, enea.conf
Add autovariable from manifest repository name,
e.g. the profile name
Add autovariables from poky.ent, e.g. Yocto version etc..
in pardoc-distro
Add autovariables from enea.conf e.g. release MAJOR MINOR
via generated s_docsrc_common/pardoc-distro
and also pick up MAJOR MINOR into the
make system to create BOOK_VER => BL_LABEL on books
Add autocreate build_boot chapter in release info
from the README files in all included targets
Adapt book XML files to the above
Currently this makes the Makefile and init scripts identical
in different el6-<profile>.git
All are now automatic: Just clone el6-xxxx.git and
cd el6-xxx/doc ; make doc
and all are done until the books are built and ready.
It takes several minutes to autofetch all from git
using the repo command according to the target manifests
before the books start to build.
Rebuilding books are quick.
Signed-off-by: Lennart Johansson <lennart.johansson@enea.com>
Diffstat (limited to 'doc/docsrc_common')
-rw-r--r-- | doc/docsrc_common/pardoc-distro.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/docsrc_common/pardoc-distro.xml b/doc/docsrc_common/pardoc-distro.xml index 129d7a5..9c9edd6 100644 --- a/doc/docsrc_common/pardoc-distro.xml +++ b/doc/docsrc_common/pardoc-distro.xml | |||
@@ -5,7 +5,7 @@ | |||
5 | ============================== | 5 | ============================== |
6 | --> | 6 | --> |
7 | <!-- Distribution and release --> | 7 | <!-- Distribution and release --> |
8 | <!ENTITY ENEA_LINUX_REL_VER "6-Networking"> <!-- used also in Makefile --> | 8 | <!ENTITY ENEA_LINUX_REL_VER "MAJOR.MINOR-Networking"> <!-- TEMPLATE LINE, IS PATCHED by Makefile with values from enea.conf in poky/ --> |
9 | <!ENTITY % common_poky_entities SYSTEM "../s_targets/qemuarm/poky/documentation/poky.ent"> | 9 | <!ENTITY % common_poky_entities SYSTEM "../s_targets/qemuarm/poky/documentation/poky.ent"> |
10 | %common_poky_entities; | 10 | %common_poky_entities; |
11 | ]> | 11 | ]> |
@@ -24,8 +24,6 @@ | |||
24 | 24 | ||
25 | <para>**** The phrase elements below can be used as variables in several | 25 | <para>**** The phrase elements below can be used as variables in several |
26 | places in XML files ****</para> | 26 | places in XML files ****</para> |
27 | <para>**** In addition: Makefile parses variable REL_VER from entity ENEA_LINUX_REL_VER, | ||
28 | after which swcomp.mk extracts BOOK_VER from variable REL_VER ****</para> | ||
29 | 27 | ||
30 | <para>You can add more elements using ENTITY lines in poky.ent, e.g. like Poky_VER below</para> | 28 | <para>You can add more elements using ENTITY lines in poky.ent, e.g. like Poky_VER below</para> |
31 | 29 | ||
@@ -34,5 +32,6 @@ | |||
34 | <para id="ULINK_ENEA_LINUX_URL"><ulink url='https://linux.enea.com/&ENEA_LINUX_REL_VER;'>https://linux.enea.com/&ENEA_LINUX_REL_VER;</ulink></para> | 32 | <para id="ULINK_ENEA_LINUX_URL"><ulink url='https://linux.enea.com/&ENEA_LINUX_REL_VER;'>https://linux.enea.com/&ENEA_LINUX_REL_VER;</ulink></para> |
35 | <para id="Poky_VER"><phrase>&POKYVERSION;</phrase></para> | 33 | <para id="Poky_VER"><phrase>&POKYVERSION;</phrase></para> |
36 | <para id="Yocto_VER"><phrase>&DISTRO;</phrase></para> | 34 | <para id="Yocto_VER"><phrase>&DISTRO;</phrase></para> |
35 | <para id="Yocto_NAME"><phrase>&DISTRO_NAME_NO_CAP;</phrase></para> | ||
37 | <para id="ULINK_YOCTO_RELEASE_NOTES"><ulink url='&YOCTO_RELEASE_NOTES;'>&YOCTO_RELEASE_NOTES;</ulink></para> | 36 | <para id="ULINK_YOCTO_RELEASE_NOTES"><ulink url='&YOCTO_RELEASE_NOTES;'>&YOCTO_RELEASE_NOTES;</ulink></para> |
38 | </section> | 37 | </section> |