Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 07:39:52 +0100
From:      Adrian Wontroba <aw1@stade.co.uk>
To:        "Nawfal M. Rouyan" <wind_prowler@hotmail.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: diff between make release & make world?
Message-ID:  <19990916073950.C31041@titus.stade.co.uk>
In-Reply-To: <19990915081741.27331.qmail@hotmail.com>; from Nawfal M. Rouyan on Wed, Sep 15, 1999 at 04:17:41PM %2B0000
References:  <19990915081741.27331.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 15, 1999 at 04:17:41PM +0000, Nawfal M. Rouyan wrote:
> 	I would like to ask about the difference between
> 'make release' and 'make world'.

Further to the good advice in Ruslan's reply:

You would use "make world" to UPDATE a system (or perhaps many).  This
is used by many people.

You would only use "make release" if you wanted to build a release
structure, from which you could burn CD's or use FTP or NFS so that you
could INSTALL FreeBSD on a system (or many).  This is a fairly rare
requirement.

Building a release needs a lot of disk space and processor time.  For
example, you'll generally need a complete CVS repository.

Below are a couple of Makefile fragments which I use when building
stable and current releases.  If you don't know what current is, or the
conditions which attach to its use, don't even think of using it!

stable-release: stable-src-build
	cd ${STABLE}/src/release; TMPDIR=/tmp CVSROOT=/home/ncvs nice -20 make release BUILDNAME=3-stable`date +%C%y%m%d` CHROOTDIR=/d3p3/stable-release RELEASETAG=RELENG_3 NODOC=YES NOPORTS=YES	> $(LOGDIR)/$(.TARGET).log 2>&1
	$(LOGGER) "stable-release performed"
	touch $(.TARGET)

current-release: current-src-build
	cd ${CURRENT}/src/release; TMPDIR=/tmp CVSROOT=/home/ncvs nice -20 make release BUILDNAME=4-current`date +%C%y%m%d` CHROOTDIR=/d3p4/current-release NODOC=YES NOPORTS=YES	> $(LOGDIR)/$(.TARGET).log 2>&1
	$(LOGGER) "current-release performed"
	touch $(.TARGET)

-- 
Adrian Wontroba


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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