diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1076,8 +1076,7 @@ help: @echo ' enough build support to build external modules' @echo ' mrproper - Remove all generated files + config + various backup files' @echo ' distclean - mrproper + remove editor backup and patch files' - @echo ' docs - start doxygen for all output types (only HTML - FIXME)' - @echo ' htmldocs - create documentation in HTML format' + @echo ' docs - build documentation @echo '' @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @@ -1125,6 +1124,14 @@ quiet_cmd_tags = GEN $@ tags TAGS cscope: FORCE $(call cmd,tags) +SPHINXBUILD = sphinx-build +ALLSPHINXOPTS = source + +docs: FORCE + @mkdir -p $(srctree)/Documentation/commands + @$(srctree)/Documentation/gen_commands.py $(srctree) $(srctree)/Documentation/commands + @$(SPHINXBUILD) -b html -d $(objtree)/doctrees $(srctree)/Documentation \ + $(objtree)/Documentation/html endif #ifeq ($(config-targets),1) endif #ifeq ($(mixed-targets),1) |