diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2006-05-26 18:10:06 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2006-05-26 18:10:06 +0000 |
commit | becc5c626d5bc6fad8d54220523c8a7e1d7fd5c5 (patch) | |
tree | 646b316f0c1ebfe618cee83ec3121e8645342eee /Makefile.inc1 | |
parent | ff4b8cb7bd488e9f1e00bf9ed08fa4b377834961 (diff) | |
download | src-test2-becc5c626d5bc6fad8d54220523c8a7e1d7fd5c5.tar.gz src-test2-becc5c626d5bc6fad8d54220523c8a7e1d7fd5c5.zip |
Connect the kernel subsystem API documentation generation framework to
the build infrastructure: "make doxygen"
Changes to the man pages will be made when some defaults are revisited.
Requested by: gnn
Notes
Notes:
svn path=/head/; revision=158962
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 0a4d4f4aee9c..6e5bb1e6dff6 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -17,6 +17,7 @@ # The intended user-driven targets are: # buildworld - rebuild *everything*, including glue to help do upgrades # installworld- install everything built by "buildworld" +# doxygen - build API documentation of the kernel # update - convenient way to update your source tree (eg: cvsup/cvs) # # Standard targets (not defined here) are documented in the makefiles in @@ -711,6 +712,18 @@ reinstallkernel reinstallkernel.debug: installcheck ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//} # +# doxygen +# +# Build the API documentation with doxygen +# +doxygen: + @if [ ! -x `/usr/bin/which doxygen` ]; then \ + echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \ + exit 1; \ + fi + cd ${.CURDIR}/sys/doc/subsys && ${MAKE} obj all + +# # update # # Update the source tree, by running cvsup and/or running cvs to update to the |