Makefile: Update doxygen requirements

MFC after:	3 days
Reviewed by:	imp, ziaee
Signed-off-by:	Minsoo Choo <minsoochoo0122@proton.me>
Closes:		https://github.com/freebsd/freebsd-src/pull/1869
This commit is contained in:
Minsoo Choo
2026-01-06 13:11:11 -05:00
committed by Alexander Ziaee
parent b72cb30589
commit d2f1c8e0d1
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -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.
# doxygen - Build API documentation of the kernel, needs doxygen, TeX, and graphviz.
# checkworld - Run test suite on installed world.
# check-old - List obsolete directories/files/libraries.
# check-old-dirs - List obsolete directories.
@@ -804,7 +804,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
+8
View File
@@ -2464,6 +2464,14 @@ doxygen: .PHONY
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 TeX (print/texlive-full) 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
#