diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-04 17:19:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-04 17:19:40 +0200 |
commit | ce1b0d4ae384c7ad0ae5c3be5eb1c1e75d84ee71 (patch) | |
tree | eb70e0f7750534d949fefd6b8da2bba0a08c939c /Makefile | |
parent | d9e2694a6558c852f9d10547927dd7c946d77159 (diff) | |
parent | 0ad478b4c26327b38f1481192d8da09846855634 (diff) | |
download | barebox-ce1b0d4ae384c7ad0ae5c3be5eb1c1e75d84ee71.tar.gz barebox-ce1b0d4ae384c7ad0ae5c3be5eb1c1e75d84ee71.tar.xz |
Merge branch 'for-next/doc'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 9 insertions, 12 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 @@ -1117,16 +1116,6 @@ help: @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' -# Generate doxygen docs -# --------------------------------------------------------------------------- -.PHONY += docs htmldocs - -docs : htmldocs - -htmldocs: Doxyfile.version - @echo 'Running doxygen with local Doxyfile' - $(Q)doxygen Doxyfile - # Generate tags for editors # --------------------------------------------------------------------------- quiet_cmd_tags = GEN $@ @@ -1135,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) |