summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-05-24 20:15:13 +0000
committerjkh <jkh@FreeBSD.org>1997-05-24 20:15:13 +0000
commit2edb07cac1a6992a998800396dd8d61c1c615abb (patch)
treeae7ab2b97684f968287ebfe1eaea9111a76d5e6a /release
parent81f7ff2872e38caed3e3dcc2954bdea7874e7c95 (diff)
downloadFreeBSD-src-2edb07cac1a6992a998800396dd8d61c1c615abb.zip
FreeBSD-src-2edb07cac1a6992a998800396dd8d61c1c615abb.tar.gz
Add rules for building doc back into releases, conditionalized on NODOC.
Also clean up some of the comments at the top. It's 12 o'clock, and that is all.
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 a68cc0c..5437bcb 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
OpenPOWER on IntegriCloud