summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index b27d2f32f1..2807f12bae 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -11,6 +11,8 @@
11# or the mega-manual (single, large HTML file comprised of all 11# or the mega-manual (single, large HTML file comprised of all
12# Yocto Project manuals). 12# Yocto Project manuals).
13# html: generates an HTML version of a manual. 13# html: generates an HTML version of a manual.
14# eclipse: generates an HTML version of a manual that can be used as
15# eclipse help (including necessary metadata files).
14# tarball: creates a tarball for the doc files. 16# tarball: creates a tarball for the doc files.
15# validate: validates 17# validate: validates
16# publish: pushes generated files to the Yocto Project website 18# publish: pushes generated files to the Yocto Project website
@@ -321,19 +323,9 @@ eclipse: eclipse-generate eclipse-resolve-links
321.PHONY : eclipse-generate eclipse-resolve-links 323.PHONY : eclipse-generate eclipse-resolve-links
322 324
323eclipse-generate: 325eclipse-generate:
324ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-manual poky-ref-manual yocto-project-qs),) 326ifeq ($(DOC),mega-manual)
325 @echo " "
326 @echo "ERROR: You can only create eclipse documentation"
327 @echo " of the following documentation parts:"
328 @echo " " 327 @echo " "
329 @echo " - The Yocto Project Application Developer's Guide (adt-manual)" 328 @echo "ERROR: You cannot generate eclipse documentation for the mega-manual"
330 @echo " - The Yocto Project Board Support Package"
331 @echo " Developer's Guide (bsp-guide)"
332 @echo " - The Yocto Project Development Manual (dev-manual)"
333 @echo " - The Yocto Project Kernel Architecture and"
334 @echo " Use Manual (kernel-manual)"
335 @echo " - The Yocto Project Reference Manual (poky-ref-manual)"
336 @echo " - The Yocto Project Quick Start (yocto-project-qs)"
337 @echo " " 329 @echo " "
338else 330else
339 @echo " " 331 @echo " "