summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-01-31 10:32:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-01-31 10:32:19 +0000
commit1fc41e8c87073089bfe796ad3007fd0acac9333f (patch)
treed30ae6ebad3f9af79549b9aad78f0d9cf15ef6ea
parentccbf1ab468cd5d4e3f1e8c1cd81d2928bd3792a0 (diff)
fix ugly line split: from raymond lillard;
use displays where possible - they're much tidier;
-rw-r--r--share/man/man8/release.861
1 files changed, 30 insertions, 31 deletions
diff --git a/share/man/man8/release.8 b/share/man/man8/release.8
index ccb0439e451..7be25e729ff 100644
--- a/share/man/man8/release.8
+++ b/share/man/man8/release.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: release.8,v 1.34 2004/02/22 09:20:38 matthieu Exp $
+.\" $OpenBSD: release.8,v 1.35 2005/01/31 10:32:18 jmc Exp $
.\"
.\" Copyright (c) 2000 Marco S. Hyman
.\"
@@ -21,7 +21,7 @@ release
There are several steps necessary to build a system release.
They are:
.Pp
-.Bl -enum -compact
+.Bl -enum -compact -offset indent
.It
Update sources.
.It
@@ -93,12 +93,11 @@ contains errata, no new features.
.Pp
To update your sources to the versions identified by one of the above
tags use the commands:
-.Pp
-.Bl -tag -width 3n -offset indent -compact
-.It Li "% cd /usr/src && cvs up -r TAG -Pd"
-.It Li "% cd XF4SRC && cvs up -r TAG -Pd"
-.It Li "% cd PORTSPATH && cvs up -r TAG -Pd"
-.El
+.Bd -literal -offset indent
+% cd /usr/src && cvs up -r TAG -Pd
+% cd XF4SRC && cvs up -r TAG -Pd
+% cd PORTSPATH && cvs up -r TAG -Pd
+.Ed
.Pp
Replace
.Va XF4SRC
@@ -169,7 +168,8 @@ them before the build.
The steps are:
.Pp
.Bl -tag -width 3n -offset indent -compact
-.It Li "% cd /usr/obj && mkdir -p .old && sudo mv * .old && sudo rm -rf .old &"
+.It Li "% cd /usr/obj && mkdir -p .old && sudo mv * .old && \e"
+.It Li "sudo rm -rf .old &"
This moves all your existing object files out of the way and then removes
them in the background.
.It Li "% cd /usr/src && nice make obj"
@@ -239,7 +239,8 @@ You must be root to create a release.
.It Li "# cd /usr/src/distrib/crunch && make obj depend all install"
Create the special tools needed to build the release.
.It Li "# setenv DESTDIR your-destdir; setenv RELEASEDIR your-releasedir"
-.It Li "# test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && rm -rf ${DESTDIR}- &"
+.It Li "# test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && \e"
+.It Li "rm -rf ${DESTDIR}- &"
.It Li "# mkdir -p ${DESTDIR} ${RELEASEDIR}"
The last two steps ensure
.Va ${DESTDIR}
@@ -282,13 +283,12 @@ is the path to your X Window System source files.
Once you've selected
.Va XF4BLD
the build process is:
-.Pp
-.Bl -tag -width 3n -offset indent -compact
-.It Li "% su"
-.It Li "# test -d XF4BLD && mv XF4BLD XF4BLD- && rm -rf XF4BLD- &"
-.It Li "# mkdir -p XF4BLD"
-.It Li "# cd XF4BLD && lndir XF4SRC && nice make build"
-.El
+.Bd -literal -offset indent
+% su
+# test -d XF4BLD && mv XF4BLD XF4BLD- && rm -rf XF4BLD- &
+# mkdir -p XF4BLD
+# cd XF4BLD && lndir XF4SRC && nice make build
+.Ed
.Pp
.Sy Note (only for i386) :
.Pa XF86Setup ,
@@ -339,14 +339,14 @@ release checklist processing).
.Pp
The steps to build the release are (assuming you are still root, and still in
.Va XF4BLD ) :
-.Pp
-.Bl -tag -width 3n -offset indent -compact
-.It Li "# setenv DESTDIR your-destdir; setenv RELEASEDIR your-releasedir"
-.It Li "# test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && rm -rf ${DESTDIR}- &"
-.It Li "# mkdir -p ${DESTDIR} ${RELEASEDIR}"
-.It Li "# nice make release"
-.It Li "# unsetenv RELEASEDIR DESTDIR"
-.El
+.Bd -literal -offset indent
+# setenv DESTDIR your-destdir; setenv RELEASEDIR your-releasedir
+# test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && \e
+ rm -rf ${DESTDIR}- &
+# mkdir -p ${DESTDIR} ${RELEASEDIR}
+# nice make release
+# unsetenv RELEASEDIR DESTDIR
+.Ed
.Pp
At this point you have both
.Ox
@@ -365,12 +365,11 @@ which can then be installed on multiple machines using
Packages are created by selecting an application to build
(we'll call this one CATEGORY/PORT) and then running the following:
as root:
-.Pp
-.Bl -tag -width 3n -offset indent -compact
-.It Li "% cd /usr/ports/CATEGORY/PORT"
-.It Li "% su"
-.It Li "# make package"
-.El
+.Bd -literal -offset indent
+% cd /usr/ports/CATEGORY/PORT
+% su
+# make package
+.Ed
.Pp
That's all there is to it.
.Sh SEE ALSO