Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2026 22:31:33 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Minsoo Choo <minsoochoo0122@proton.me>
Subject:   git: 606e70b7af7e - stable/14 - Makefile: Update doxygen requirements
Message-ID:  <6a750b45.201d7.31f64972@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=606e70b7af7e7f9924c1e002eb3ed4e0df94ec27

commit 606e70b7af7e7f9924c1e002eb3ed4e0df94ec27
Author:     Minsoo Choo <mchoo@FreeBSD.org>
AuthorDate: 2026-01-06 18:11:11 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-06 22:18:01 +0000

    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
    
    (cherry picked from commit d2f1c8e0d1bebab9fba32d69d261abc101f368ba)
---
 Makefile      | 4 ++--
 Makefile.inc1 | 8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 4eab18a7dce1..c136d445fb2d 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
@@ -822,7 +822,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
diff --git a/Makefile.inc1 b/Makefile.inc1
index a1c20599104f..cc41dd23e48b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2330,6 +2330,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
 
 #


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a750b45.201d7.31f64972>