diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-04-11 14:30:45 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-04-11 14:30:45 +0000 |
commit | 5d68dd33d3569d898ce0f04a5239f2e8572c23ee (patch) | |
tree | b3de7fb983b6ddf2beb93001d26a024d1a2953dd /share/man/man7/release.7 | |
parent | 4de87a7e283564411c78c50bc688c16b2ec4037c (diff) | |
download | FreeBSD-src-5d68dd33d3569d898ce0f04a5239f2e8572c23ee.zip FreeBSD-src-5d68dd33d3569d898ce0f04a5239f2e8572c23ee.tar.gz |
Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
Diffstat (limited to 'share/man/man7/release.7')
-rw-r--r-- | share/man/man7/release.7 | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/share/man/man7/release.7 b/share/man/man7/release.7 index 04d8eb1..827a5ef 100644 --- a/share/man/man7/release.7 +++ b/share/man/man7/release.7 @@ -153,17 +153,17 @@ The release makefile is fairly abstruse. Most developers will only be concerned with the .Cm release -target. +and +.Cm install +targets. .\" XXX: Some sort of introduction to this list? All the others have one. .Bl -tag -width ".Cm packagesystem" .It Cm release Meta-target to build all release media and distributions applicable to this -platform. All output goes to -.Pa ${.OBJDIR} , -which will likely be either -.Pa src/release -or the equivalent path in -.Pa /usr/obj . +platform. +.It Cm install +Copy all produced release media to +.Pa ${DESTDIR} . .It Cm cdrom Builds installation CD-ROM images. On some systems, this may require that .Xr mkisofs 8 @@ -173,8 +173,10 @@ and possibly that the .Xr md 4 (memory disk) device driver be present in the kernel (either by being compiled in or available as a module). This target -produces a file called +produces files called .Pa release.iso +and +.Pa bootonly.iso as its output. .It Cm memstick Builds an installation memory stick image named @@ -293,12 +295,12 @@ svn co svn://svn.freebsd.org/base/head src cd src make buildworld cd release -make obj release +make release install DESTDIR=/var/freebsd-snapshot .Ed .Pp -After running these commands, a complete system suitable for FTP or -CD-ROM distribution is available in the -.Pa /usr/obj/usr/src/release +After running these commands, all produced distribution files (tarballs +for FTP, CD-ROM images, etc.) are available in the +.Pa /var/freebsd-snapshot directory. .Pp The following sequence of commands can be used to build a |