From 630dcb6fd574b18512d1786b6f674caa5ff9fc22 Mon Sep 17 00:00:00 2001 From: Carsten Schlote Date: Tue, 12 Feb 2008 11:37:24 +0100 Subject: [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 --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 913c0f19ae..0765dbf17a 100644 --- a/Makefile +++ b/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 # --------------------------------------------------------------------------- -- cgit v1.2.3