summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-07-10 09:40:17 +0300
committerTom Rini <trini@konsulko.com>2018-07-23 21:33:21 +0300
commit78a88f7930becb78afef09c1237a8e4edc1b01e1 (patch)
treeb4c1d5c08749423c742f2c1bb43d1be0704bc0a5 /Makefile
parent5448ff33f281cc4832395109c53effc7593bbfeb (diff)
downloadu-boot-78a88f7930becb78afef09c1237a8e4edc1b01e1.tar.xz
doc: Replace DocBook with sphinx-based docs
The Linux kernel moved to sphinx-based documentation and got rid of the DocBook based documentation quite a while ago. Hence, the DocBook documentation for U-Boot should be converted as well. To achieve this, import the necessary files from Linux v4.17, and convert the current DocBook documentation (three files altogether) to sphinx/reStructuredText. For now, all old DocBook documentation was merged into a single handbook, tentatively named "U-Boot Hacker Manual". For some source files, the documentation style was changed to comply with kernel-doc; no functional changes were applied. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4b3023b259..d1246e063f 100644
--- a/Makefile
+++ b/Makefile
@@ -1707,9 +1707,11 @@ tests:
# Documentation targets
# ---------------------------------------------------------------------------
-%docs: scripts_basic FORCE
- $(Q)$(MAKE) $(build)=scripts build_docproc
- $(Q)$(MAKE) $(build)=doc/DocBook $@
+DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
+ linkcheckdocs dochelp refcheckdocs
+PHONY += $(DOC_TARGETS)
+$(DOC_TARGETS): scripts_basic FORCE
+ $(Q)$(MAKE) $(build)=Documentation $@
endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)