Explicitly set DOC_PREFIX in the child make invocation. This helps
fix the case where the release notes are not exactly three levels below in "something/something-else/doc" (if that's not the case, doc.relnotes.mk would be unable to find the right path to the doc/ tree).
This commit is contained in:
parent
b605157932
commit
816d0456a6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9611
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
# of relnotes should appear on the web site. The second word is the
|
||||
# path to that relnotes set.
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: www/en/relnotes/Makefile,v 1.1 2001/05/25 05:08:03 dd Exp $
|
||||
#
|
||||
|
||||
RELNOTES= CURRENT ${.CURDIR}/../../../src/release/doc
|
||||
|
@ -24,6 +24,7 @@ all install clean obj:
|
|||
cd $$realpath && ${MAKE} \
|
||||
FORMATS=html\ html-split \
|
||||
DOCDIR=${DESTDIR}/data/${.CURDIR:T}/$$webname \
|
||||
DOC_PREFIX=${.CURDIR}/../../../doc \
|
||||
DIRPRFX=${.CURDIR:T}/$$webname/ \
|
||||
${.TARGET}); \
|
||||
done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue