Allow to build a release for stable/[78] on a current box and vise versa.

Approved by:	re (hrs)
MFC after:	1 week
This commit is contained in:
Yoshihiro Takahashi 2011-08-11 13:15:11 +00:00
parent 6fdce145de
commit 09abcc01cf

View File

@ -600,7 +600,11 @@ release rerelease:
echo "fi" >> ${_MK}
echo "cd /usr/src/release" >> ${_MK}
echo "make obj" >> ${_MK}
echo "make -f Makefile.sysinstall \$${_RELTARGET}" >> ${_MK}
echo "if [ -f Makefile.sysinstall ]; then" >> ${_MK}
echo " make -f Makefile.sysinstall \$${_RELTARGET}" >> ${_MK}
echo "else" >> ${_MK}
echo " make \$${_RELTARGET}" >> ${_MK}
echo "fi" >> ${_MK}
echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
chmod 755 ${_MK}
.if defined(NOPORTS)