[yocto] [RFC 3/6] documentation/Makefile: Added eclipse target for generating eclipse help
mail at timomueller.eu
mail at timomueller.eu
Thu Sep 6 02:04:36 PDT 2012
From: Timo Mueller <timo.mueller at bmw-carit.de>
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.
---
documentation/Makefile | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/documentation/Makefile b/documentation/Makefile
index 380193d..87e1fde 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -284,6 +284,26 @@ else
endif
+eclipse: BASE_DIR = html/$(DOC)/
+
+eclipse:
+ifneq ($(DOC),adt-manual)
+ @echo " "
+ @echo "ERROR: You can only create eclipse documentation of the"
+ @echo " Yocto Project Application Development Toolkit (ADT)"
+ @echo " User's Guide"
+ @echo " "
+else
+ cd $(DOC); \
+ xsltproc $(XSLTOPTS) \
+ --stringparam base.dir '$(BASE_DIR)' \
+ -o eclipse/$(DOC).html \
+ $(DOC)-eclipse-customization.xsl $(DOC).xml; \
+ mv eclipse/toc.xml eclipse/$(DOC)-toc.xml; \
+ cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES); \
+ cd ..
+endif
+
tarball: html
@echo " "
@echo "******** Creating Tarball of document files"
--
1.7.7.6
More information about the yocto
mailing list