diff options
-rw-r--r-- | doc/Makefile | 6 |
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 |