2 .\" Copyright (c) 2006 The DragonFly Project. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in
12 .\" the documentation and/or other materials provided with the
14 .\" 3. Neither the name of The DragonFly Project nor the names of its
15 .\" contributors may be used to endorse or promote products derived
16 .\" from this software without specific, prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .\" $FreeBSD: src/share/man/man7/release.7,v 1.3.2.6 2003/04/12 20:42:30 murray Exp $
32 .\" $DragonFly: src/share/man/man7/release.7,v 1.9 2007/08/20 02:02:02 swildner Exp $
39 .Nd "release building infrastructure"
42 provides a complete build environment suitable for users to make
46 All of the tools necessary to build releases are available from the
49 A complete release (that is, a live CD) can actually be built with
50 only a single command.
51 This command is aptly named
52 .Dq Li "make release" .
54 This document does not cover source code management, quality
55 assurance, or other aspects of the release engineering process.
58 .Pq Pa src/nrelease/Makefile
59 defines a number of targets which are roughly modeled after the
60 targets used for building the system.
61 .Bl -tag -width ".Cm realquickrel"
63 Builds a vanilla live CD.
79 Removes the ISO root directory and object files.
83 but also removes external packages.
90 targets will only work if a full
93 For a description of the corresponding build targets, see
98 target is specified along with a
105 Installer will be added to the resulting ISO image.
107 During the process of rolling a release a check is performed to find
108 out if a number of external packages to be put on the CD exist on
110 If they cannot be found, the release process will stop and give
111 proper commands for downloading and setting up these packages.
113 .Bl -tag -width ".Va WITHOUT_SRCS"
115 If set, this variable will prevent kernel source code from being copied
117 .Pa /usr/src-sys.tar.bz2
122 .It Pa /etc/make.conf
124 .It Pa src/Makefile.inc1
125 .It Pa src/nrelease/Makefile
128 The following sequence of commands is used to build a standard
130 installation CD image (assuming that a local CVS repository is
132 .Bd -literal -offset indent
134 cvs co -rDragonFly_RELEASE_1_10 src
136 make installer release
139 After running these commands, the image will be available in the
151 to implement the idea of a
157 infrastructure was written by
159 This manual page was written by
162 There are more targets and variables in
163 .Pa src/nrelease/Makefile
164 that should be documented.