[yocto] [PATCH 02/18] Makefile: Modify DOC filter for eclipse-generate target

Timo Mueller mail at timomueller.eu
Fri Feb 8 05:21:19 PST 2013


From: Timo Mueller <timo.mueller at bmw-carit.de>

Filter now explicitely lists the doc parts from which eclipse help can
be generated.

Signed-off-by: Timo Mueller <timo.mueller at bmw-carit.de>
---
 documentation/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index fac2c85..773c41f 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -332,9 +332,17 @@ eclipse: eclipse-generate eclipse-resolve-links
 .PHONY : eclipse-generate eclipse-resolve-links
 
 eclipse-generate:
-ifeq ($(DOC),mega-manual)
+ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual yocto-project-qs),)
 	@echo " "
-	@echo "ERROR: You cannot generate eclipse documentation for the mega-manual"
+	@echo "ERROR: You can only create eclipse documentation"
+	@echo "       of the following documentation parts:"
+	@echo "       - adt-manual"
+	@echo "       - bsp-guide"
+	@echo "       - dev-manual"
+	@echo "       - kernel-dev"
+	@echo "       - profile-manual"
+	@echo "       - ref-manual"
+	@echo "       - yocto-project-qs"
 	@echo " "
 else
 	@echo " "
-- 
1.7.11.7




More information about the yocto mailing list