Author: nyan
Date: Thu Aug 11 13:15:11 2011
New Revision: 224780
URL: http://svn.freebsd.org/changeset/base/224780
Log:
Allow to build a release for stable/[78] on a current box and vise versa.
Approved by: re (hrs)
MFC after: 1 week
Modified:
head/release/Makefile.sysinstall
Modified: head/release/Makefile.sysinstall
==============================================================================
--- head/release/Makefile.sysinstall Thu Aug 11 13:13:08 2011
(r224779)
+++ head/release/Makefile.sysinstall Thu Aug 11 13:15:11 2011
(r224780)
@@ -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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"