Date: Wed, 2 Aug 2006 14:00:26 +0300 From: "Alexander Mogilny" <sg@astral.ntu-kpi.kiev.ua> To: freebsd-current@freebsd.org Subject: [patch] make doxygen failed Message-ID: <7403d2a30608020400i7c5027d5v3cc762efd5eeb36f@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi all.
I recently tried to build doxygen target in order to build kernel
sources documentation but failed. The most recent error you would get
trying to build this target is that make tries to change dir to
sys/doc directory. Here are the patches which corrects the build of
doxygen target. You may try it on your own.
--
AIM-UANIC +-----[ FreeBSD ]-----+
Alexander Mogilny | The Power to Serve! |
<> sg@portaone.com +---------------------+
[-- Attachment #2 --]
--- /usr/src/Makefile.inc1.orig Wed Aug 2 13:18:05 2006
+++ /usr/src/Makefile.inc1 Wed Aug 2 13:21:54 2006
@@ -731,7 +731,7 @@
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
+ cd ${.CURDIR}/tools/kerneldoc/subsys && ${MAKE} all
#
# update
[-- Attachment #3 --]
--- /usr/src/tools/kerneldoc/subsys/Makefile.orig Wed Aug 2 13:23:06 2006
+++ /usr/src/tools/kerneldoc/subsys/Makefile Wed Aug 2 13:44:11 2006
@@ -73,6 +73,7 @@
DOXYGEN_DEST_PATH= ${.OBJDIR}
DOXYGEN_LATEX_DEST_PATH=${.OBJDIR}
DOXYGEN_PDF_DEST_PATH= ${.OBJDIR}
+LOCAL_PREFIX=/usr/local/bin
.if exists{${S}/${TARGET_ARCH}/linux}
DOXYGEN_LINUX_PATH= ${S}/${TARGET_ARCH}/linux
@@ -88,6 +89,7 @@
${target}: mfiles ${.OBJDIR}/${target}/${target}.tag
${.OBJDIR}/${target}/${target}.tag:
+ @mkdir -p ${.OBJDIR}/${target}/
@cd ${.OBJDIR} && \
env DOXYGEN_INCLUDE_PATH=${.CURDIR} \
DOXYGEN_SRC_PATH=${S} \
@@ -96,6 +98,7 @@
DOXYGEN_TARGET_ARCH=${TARGET_ARCH} \
DOXYGEN_LINUX_PATH=${DOXYGEN_LINUX_PATH} \
NOTREVIEWED=${.CURDIR}/notreviewed.dox \
+ PATH=${LOCAL_PREFIX} \
doxygen ${.CURDIR}/Doxyfile-${target}
@echo "API docs for ${target} are now available in ${.OBJDIR}/${target}/." | /usr/bin/fmt
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7403d2a30608020400i7c5027d5v3cc762efd5eeb36f>
