From 947b9114850a1835269719cbfe72a7047c25578b Mon Sep 17 00:00:00 2001 From: jmc Date: Sat, 23 Aug 2008 07:05:40 +0000 Subject: [PATCH] it's no longer necessary to build crunch by hand, so adjust the release instructions accordingly; --- share/man/man8/release.8 | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/share/man/man8/release.8 b/share/man/man8/release.8 index 9c31ba664f0..c7a377b02ff 100644 --- a/share/man/man8/release.8 +++ b/share/man/man8/release.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: release.8,v 1.55 2008/06/22 20:54:51 ajacoutot Exp $ +.\" $OpenBSD: release.8,v 1.56 2008/08/23 07:05:40 jmc Exp $ .\" .\" Copyright (c) 2000 Marco S. Hyman .\" @@ -9,7 +9,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: June 22 2008 $ +.Dd $Mdocdate: August 23 2008 $ .Dt RELEASE 8 .Os .Sh NAME @@ -255,34 +255,24 @@ device, svnd0, is also used and must not be configured. .El .Pp -The floppy and -.Tn CD-ROM -.Pa RAMDISK -images require a special tool which is created first. The release process is: .Pp +Ensure +.Va ${DESTDIR} +exists as an empty directory and +.Va ${RELEASEDIR} +exists. +.Va ${RELEASEDIR} +need not be empty. You must be root to create a release: -.Pp -.Dl $ su -.Pp -Create the special tools needed to build the release: .Bd -literal -offset indent -# cd /usr/src/distrib/crunch && make obj && make depend \e - && make all && make install +$ su # export DESTDIR=your-destdir; export RELEASEDIR=your-releasedir # test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && \e rm -rf ${DESTDIR}- & # mkdir -p ${DESTDIR} ${RELEASEDIR} .Ed .Pp -The last two steps ensure -.Va ${DESTDIR} -exists as an empty directory and -.Va ${RELEASEDIR} -exists. -.Va ${RELEASEDIR} -need not be empty. -.Pp Check that the contents of .Va ${DESTDIR} pretty much match the contents of the release -- 2.20.1