aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-05-24 20:15:13 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-05-24 20:15:13 +0000
commitaeb6d603ae7fa496210b2e6900c38178db1de577 (patch)
tree91b1f1287fd06aea277870ea0cb81ed519d72e4d /release
parent251535399343c6808caa531f35d14f5b8770a3bb (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/Makefile31
1 files changed, 19 insertions, 12 deletions
diff --git a/release/Makefile b/release/Makefile
index a68cc0c52ed1..5437bcb76ec9 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,19 +1,17 @@
-# $Id: Makefile,v 1.292 1997/04/25 09:11:50 jkh Exp $
+# $Id: Makefile,v 1.293 1997/05/03 12:14:21 danny Exp $
#
-# How to roll a release:
+# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
-# make release CHROOTDIR=<lots of disk> [ RELEASETAG=something ]
+# Where "/some/dir" is the pathname of a directory on a some
+# filesystem with at least 600MB of free space, "somename" is what
+# you want the release to call itself and, optionally, which CVS "tag"
+# name should be used when checking out the sources to build the release
+# (default is HEAD).
#
-# As far as I know, this will roll everything nicely into the "stage"
-# directory. I still need to write the two rules to move that into
-# the "cdrom" and "ftp" directories.
-# I also need to "make ports" and install those, but I'm not going to do
-# that on a 14.4 line just yet...
-#
-# please note: the vn driver has to be compiled into your kernel,
+# Please note: the vn driver must also be compiled into your kernel,
# otherwise the target 'release.8' and possibly others will fail.
#
-# SET THIS !!!
+# Set these, release builder!
#BUILDNAME=3.0-970302-SNAP
#CHROOTDIR=/junk/release
# If this is a RELEASE, then set
@@ -32,7 +30,7 @@ KERNELS?= GENERIC
# (another "s" for "source" will be prepended).
EXTRA_SRC+= usr.sbin/sendmail/cf smailcf
-BOOT1= etc/protocols etc/sysconfig
+BOOT1= etc/protocols etc/rc.conf
# mountpoint for filesystems.
MNT= /mnt
@@ -126,6 +124,9 @@ rerelease release:
.if !defined(NOPORTS)
cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports
.endif
+.if !defined(NODOC)
+ cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P doc
+.endif
.endif
.if make(rerelease)
.if !defined(RELEASENOUPDATE)
@@ -137,6 +138,9 @@ rerelease release:
.if !defined(NOPORTS)
cd ${CHROOTDIR}/usr/ports && cvs -q update -P -d
.endif
+.if !defined(NODOC)
+ cd ${CHROOTDIR}/usr/doc && cvs -q update -P -d
+.endif
.endif
.endif
( cd ${CHROOTDIR}/usr/src/sys/conf && \
@@ -177,6 +181,9 @@ rerelease release:
.if make(rerelease)
echo "make all install" >> ${CHROOTDIR}/mk
.endif
+.if !defined(NODOC)
+ echo "cd /usr/doc && make all install" >> ${CHROOTDIR}/mk
+.endif
echo "cd /usr/src/release/sysinstall" >> ${CHROOTDIR}/mk
echo "make obj" >> ${CHROOTDIR}/mk
echo "cd /usr/src/release" >> ${CHROOTDIR}/mk