summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-07-10 08:40:17 +0200
committerTom Rini <trini@konsulko.com>2018-07-23 14:33:21 -0400
commit78a88f7930becb78afef09c1237a8e4edc1b01e1 (patch)
treeb4c1d5c08749423c742f2c1bb43d1be0704bc0a5 /Makefile
parent5448ff33f281cc4832395109c53effc7593bbfeb (diff)
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 4b3023b259c..d1246e063f8 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)