Fix the reldoc target in release/Makefile following doc commit r51264.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2017-12-07 20:00:19 +00:00
parent 556127b650
commit 496a68519f

View File

@ -163,17 +163,19 @@ ports.txz:
reldoc:
cd ${DOCDIR}/en_US.ISO8859-1/htdocs/releases/${REVISION}R && \
${MAKE} all install clean 'FORMATS=html txt' \
INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${.OBJDIR}/rdoc
env MAN4DIR=${WORLDDIR}/share/man/man4 \
${MAKE} all install clean "FORMATS=html txt" \
INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${.OBJDIR}/rdoc \
WEBDIR=${DOCDIR} DESTDIR=${.OBJDIR}/rdoc
mkdir -p reldoc
.for i in hardware readme relnotes errata
ln -f ${DOCDIR}/${RELNOTES_LANG}/htdocs/releases/${REVISION}R/${i}/${i:tl}.txt \
reldoc/${i:tu}.TXT
ln -f ${DOCDIR}/${RELNOTES_LANG}/htdocs/releases/${REVISION}R/${i}/${i:tl}.html \
reldoc/${i:tu}.HTM
ln -f ${.OBJDIR}/rdoc/${i:tl}.txt \
reldoc/${i:tu}.TXT
ln -f ${.OBJDIR}/rdoc/${i:tl}.html \
reldoc/${i:tu}.HTML
.endfor
cp ${DOCDIR}/${RELNOTES_LANG}/htdocs/releases/${REVISION}R/readme/docbook.css \
reldoc
cp ${.OBJDIR}/rdoc/docbook.css \
reldoc/
disc1: packagesystem
# Install system