Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 12:08:54 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r225006 - stable/7/release
Message-ID:  <201108191208.p7JC8sMQ003046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Fri Aug 19 12:08:54 2011
New Revision: 225006
URL: http://svn.freebsd.org/changeset/base/225006

Log:
  MFC: revision 224780
  
    Allow to build a release for stable/[78] on a current box and vise versa.

Modified:
  stable/7/release/Makefile
Directory Properties:
  stable/7/release/   (props changed)
  stable/7/release/doc/   (props changed)
  stable/7/release/doc/en_US.ISO8859-1/hardware/   (props changed)
  stable/7/release/picobsd/tinyware/login/   (props changed)

Modified: stable/7/release/Makefile
==============================================================================
--- stable/7/release/Makefile	Fri Aug 19 12:08:15 2011	(r225005)
+++ stable/7/release/Makefile	Fri Aug 19 12:08:54 2011	(r225006)
@@ -584,7 +584,11 @@ release rerelease:
 	echo "fi"				>> ${_MK}
 	echo "cd /usr/src/release"		>> ${_MK}
 	echo "make obj"				>> ${_MK}
-	echo "make \$${_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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108191208.p7JC8sMQ003046>