Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# kernel - buildkernel + installkernel.
# kernel-toolchain - Builds the subset of world necessary to build a kernel
# kernel-toolchains - Build kernel-toolchain for all universe targets.
# doxygen - Build API documentation of the kernel, needs doxygen.
# kerneldoc - Build API documentation of the kernel, needs doxygen, teTeX, and graphviz.
# checkworld - Run test suite on installed world.
# check-old - List obsolete directories/files/libraries.
# check-old-dirs - List obsolete directories.
Expand Down Expand Up @@ -159,9 +159,9 @@ TGTS= all all-man buildenv buildenvvars buildetc buildkernel buildworld \
cleanworld cleanuniverse \
delete-old delete-old-dirs delete-old-files delete-old-libs \
depend distribute distributekernel distributekernel.debug \
distributeworld distrib-dirs distribution doxygen \
distributeworld distrib-dirs distribution \
everything hier hierarchy install installcheck installetc installkernel \
installkernel.debug packagekernel packageworld \
installkernel.debug kerneldoc packagekernel packageworld \
reinstallkernel reinstallkernel.debug \
installworld kernel-toolchain libraries maninstall \
list-old-dirs list-old-files list-old-libs \
Expand Down Expand Up @@ -801,7 +801,7 @@ universe_epilogue: .PHONY
.MAKE.MODE= normal
# Normally the things we run from here don't either.
# Using -DWITH_META_MODE
# we can buildworld with meta files created which are useful
# we can buildworld with meta files created which are useful
# for debugging, but without any of the rest of a meta mode build.
MK_DIRDEPS_BUILD= no
MK_STAGING= no
Expand Down
20 changes: 14 additions & 6 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@

#
# The intended user-driven targets are:
# buildworld - rebuild *everything*, including glue to help do upgrades
# installworld- install everything built by "buildworld"
# checkworld - run test suite on installed world
# doxygen - build API documentation of the kernel
# buildworld - rebuild *everything*, including glue to help do upgrades
# installworld - install everything built by "buildworld"
# checkworld - run test suite on installed world
# kerneldoc - build API documentation of the kernel
#
# Standard targets (not defined here) are documented in the makefiles in
# /usr/share/mk. These include:
Expand Down Expand Up @@ -2378,15 +2378,23 @@ checkworld: .PHONY

#
#
# doxygen
# kerneldoc
#
# Build the API documentation with doxygen
#
doxygen: .PHONY
kerneldoc: .PHONY
@if [ ! -x "${LOCALBASE}/bin/doxygen" ]; then \
echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
exit 1; \
fi
@if [ ! -x "${LOCALBASE}/bin/tex" ]; then \
echo "You need teTeX (print/teTeX) to generate the API documentation of the kernel." | /usr/bin/fmt; \
exit 1; \
fi
@if [ ! -x "${LOCALBASE}/bin/dot" ]; then \
echo "You need graphviz (graphics/graphviz) to generate the API documentation of the kernel." | /usr/bin/fmt; \
exit 1; \
fi
${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys; ${MAKE} obj all

#
Expand Down
Loading