diff options
author | Timo Mueller <timo.mueller@bmw-carit.de> | 2012-11-30 09:59:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 15:21:49 +0000 |
commit | 733a44d048a0fbd1ef8de68cb92888bdc7ea1636 (patch) | |
tree | d421b2c2126c7c9282ce849bbf7e13ed03b27e75 /documentation | |
parent | 2586bd854ca8d73765927bb211e4cadc26116565 (diff) | |
download | poky-733a44d048a0fbd1ef8de68cb92888bdc7ea1636.tar.gz |
documentation/Makefile: Support for making Eclipse HTML adt manual
This target will generate eclipse help for the adt-manual using
the adt-manual-eclipse-customization.xsl stylesheet.
The output will be generated to a separate directory which can be used
for integrating the documentation into eclipse.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 6020800230..903f5917e1 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -326,6 +326,29 @@ else | |||
326 | endif | 326 | endif |
327 | 327 | ||
328 | 328 | ||
329 | eclipse: BASE_DIR = html/$(DOC)/ | ||
330 | |||
331 | eclipse: | ||
332 | ifneq ($(DOC),adt-manual) | ||
333 | @echo " " | ||
334 | @echo "ERROR: You can only create eclipse documentation of the" | ||
335 | @echo " Yocto Project Application Development Toolkit (ADT)" | ||
336 | @echo " User's Guide" | ||
337 | @echo " " | ||
338 | else | ||
339 | @echo " " | ||
340 | @echo "******** Building eclipse help of "$(DOC) | ||
341 | @echo " " | ||
342 | cd $(DOC) && \ | ||
343 | xsltproc $(XSLTOPTS) \ | ||
344 | --stringparam base.dir '$(BASE_DIR)' \ | ||
345 | -o eclipse/$(DOC).html \ | ||
346 | $(DOC)-eclipse-customization.xsl $(DOC).xml && \ | ||
347 | mv eclipse/toc.xml eclipse/$(DOC)-toc.xml && \ | ||
348 | cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES) && \ | ||
349 | cd .. | ||
350 | endif | ||
351 | |||
329 | tarball: html | 352 | tarball: html |
330 | @echo " " | 353 | @echo " " |
331 | @echo "******** Creating Tarball of document files" | 354 | @echo "******** Creating Tarball of document files" |