diff options
author | netchild <netchild@FreeBSD.org> | 2006-08-02 15:24:59 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-08-02 15:24:59 +0000 |
commit | b4ead1ad7425ac089cb25503e0b42adab02a220e (patch) | |
tree | edca6b141576f60ef0ce51d7d611d1ab4ee0dc54 /tools/kerneldoc/subsys/Makefile | |
parent | 8cf9fe14083dc8e863c2ef00beb97b213ac02463 (diff) | |
download | FreeBSD-src-b4ead1ad7425ac089cb25503e0b42adab02a220e.zip FreeBSD-src-b4ead1ad7425ac089cb25503e0b42adab02a220e.tar.gz |
Fix build when .CURDIR != .OBJDIR.
Noticed by: "Alexander Mogilny" <sg@astral.ntu-kpi.kiev.ua>
Diffstat (limited to 'tools/kerneldoc/subsys/Makefile')
-rw-r--r-- | tools/kerneldoc/subsys/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/kerneldoc/subsys/Makefile b/tools/kerneldoc/subsys/Makefile index b950808..f90109d 100644 --- a/tools/kerneldoc/subsys/Makefile +++ b/tools/kerneldoc/subsys/Makefile @@ -8,6 +8,7 @@ PDF_ALL=${_ALL:C/Doxyfile/pdf/g} TARGET_ARCH?= ${MACHINE_ARCH} S?=/usr/src/sys +LOCALBASE?=/usr/local MFILES+=contrib/dev/ath/freebsd/ah_if.m MFILES+=dev/acpica/acpi_if.m @@ -88,6 +89,7 @@ DOXYGEN_LINUX_PATH+= ${S}/${TARGET_ARCH}/linux32 ${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 @@ ${.OBJDIR}/${target}/${target}.tag: DOXYGEN_TARGET_ARCH=${TARGET_ARCH} \ DOXYGEN_LINUX_PATH=${DOXYGEN_LINUX_PATH} \ NOTREVIEWED=${.CURDIR}/notreviewed.dox \ + PATH=${LOCALBASE}/bin:${PATH} \ doxygen ${.CURDIR}/Doxyfile-${target} @echo "API docs for ${target} are now available in ${.OBJDIR}/${target}/." | /usr/bin/fmt |