[general] Added docs and htmldocs target to master makefile
Added two targets to the toplevel Makefile : docs and htmdocs. Further output formats might be added later (PDF, TeX, ...) and wrapped by the docs target. Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
This commit is contained in:
parent
2ddf98f348
commit
ea65ad15ba
12
Makefile
12
Makefile
|
@ -1002,6 +1002,8 @@ 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 ''
|
||||
@echo 'Configuration targets:'
|
||||
@$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help
|
||||
|
@ -1041,6 +1043,16 @@ 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:
|
||||
@echo 'Running doxygen with local Doxyfile'
|
||||
$(Q)doxygen Doxyfile
|
||||
|
||||
# Generate tags for editors
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue