summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarsten Schlote <c.schlote@konzeptpark.de>2008-02-12 11:37:24 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-02-20 17:36:41 +0100
commit630dcb6fd574b18512d1786b6f674caa5ff9fc22 (patch)
tree72f88d64c63be9306149cbf758a1da951b196168 /Makefile
parent0bf51469d73a934eaaad3f89e60f025c9e2a73d2 (diff)
downloadbarebox-630dcb6fd574b18512d1786b6f674caa5ff9fc22.tar.gz
barebox-630dcb6fd574b18512d1786b6f674caa5ff9fc22.tar.xz
[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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
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
# ---------------------------------------------------------------------------