summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Johansson <lennart.johansson@enea.com>2016-06-09 14:42:00 +0200
committerLennart Johansson <lennart.johansson@enea.com>2016-06-09 14:42:00 +0200
commitafc030500288a003d9251e947012690d50339147 (patch)
tree4af849938215676f8ba650775ae488eabad776a9
parentd2884d9855e7a23b28c0b4daeca5e7c51c2f6d62 (diff)
downloadel_manifests-networking-afc030500288a003d9251e947012690d50339147.tar.gz
Doc Makefile BOOK_DIST_DIR will not include eclipsehelp format
Makefile now requires BOOK_DIST_ECLIPSE=yes to include also the eclipsehelp book formats in the copy to BOOK_DIST_DIR. Default is now to only include pdf and html (like in EL5) Still all three are built by default. Signed-off-by: Lennart Johansson <lennart.johansson@enea.com>
-rw-r--r--doc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 764a478..19c8a1f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -75,6 +75,8 @@ docusage:
75 @echo 'make doc #Builds the userdoc, does autoinit if needed' 75 @echo 'make doc #Builds the userdoc, does autoinit if needed'
76 @echo 'make dist BOOK_DIST_DIR=xx/doc #Builds all and copies results to BOOK_DIST_DIR' 76 @echo 'make dist BOOK_DIST_DIR=xx/doc #Builds all and copies results to BOOK_DIST_DIR'
77 @echo ' #Does not work with DOCBOOK_TO_BOOKDIR or BOOK_BUILD_DIR' 77 @echo ' #Does not work with DOCBOOK_TO_BOOKDIR or BOOK_BUILD_DIR'
78 @echo ' #Currently EclipseHelp formated doc will not be in BOOK_DIST_DIR'
79 @echo ' # unless BOOK_DIST_ECLIPSE is set to yes'
78 @echo 'make init #Init all needed init* below' 80 @echo 'make init #Init all needed init* below'
79 @echo 'make initbuild #Init s_docbuild Docbook build system and central files' 81 @echo 'make initbuild #Init s_docbuild Docbook build system and central files'
80 @echo 'make inittargets #Init s_targets using repo tool Targets in this distro with poky' 82 @echo 'make inittargets #Init s_targets using repo tool Targets in this distro with poky'
@@ -155,7 +157,9 @@ dist: doc
155 $(VERB)for book in $(COMPONENTS); do \ 157 $(VERB)for book in $(COMPONENTS); do \
156 if ls -d $$book/book*.pdf >/dev/null 2>&1; then cp --preserve=timestamps $$book/book*.pdf "$(BOOK_DIST_DIR)" ; fi ; \ 158 if ls -d $$book/book*.pdf >/dev/null 2>&1; then cp --preserve=timestamps $$book/book*.pdf "$(BOOK_DIST_DIR)" ; fi ; \
157 if ls -d $$book/html >/dev/null 2>&1; then cp -r --preserve=timestamps $$book/html "$(BOOK_DIST_DIR)" ; fi ; \ 159 if ls -d $$book/html >/dev/null 2>&1; then cp -r --preserve=timestamps $$book/html "$(BOOK_DIST_DIR)" ; fi ; \
158 if ls -d $$book/eclipse >/dev/null 2>&1; then cp -r --preserve=timestamps $$book/eclipse "$(BOOK_DIST_DIR)" ; fi ; \ 160 if [ "$(BOOK_DIST_ECLIPSE)" = "yes" ]; then \
161 if ls -d $$book/eclipse >/dev/null 2>&1; then cp -r --preserve=timestamps $$book/eclipse "$(BOOK_DIST_DIR)" ; fi ; \
162 fi ; \
159 done 163 done
160 164
161# Default FORMATs 165# Default FORMATs