summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-04-23 23:06:36 +0000
committerphk <phk@FreeBSD.org>1995-04-23 23:06:36 +0000
commit4b8b3f4b769ae14d8ef86e71b04759c06bbe3979 (patch)
tree58aaba2b89d84750b2b95fdd2b8d40342c4a1302 /release/Makefile
parent2606a8d910183093ce2b38a07c7e62fca277440f (diff)
downloadFreeBSD-src-4b8b3f4b769ae14d8ef86e71b04759c06bbe3979.zip
FreeBSD-src-4b8b3f4b769ae14d8ef86e71b04759c06bbe3979.tar.gz
Add the stuff to munge the name of the release/snap/whatever we build.
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index a4cc9a8..466829d 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.140 1995/04/19 18:00:04 phk Exp $
+# $Id: Makefile,v 1.141 1995/04/20 06:48:30 phk Exp $
#
# How to roll a release:
#
@@ -10,6 +10,12 @@
# I also need to "make ports" and install those, but I'm not going to do
# that on a 14.4 line just yet...
+# SET THIS !!!
+BUILDNAME=SOME_RANDOM_BUILD
+
+# If this is a RELEASE, then set
+#RELEASETAG=something
+
# Things which without too much trouble can be considered variables
EXPORT_DISTS= games manpages proflibs dict info
@@ -77,6 +83,9 @@ release:
.else
cd ${CHROOTDIR}/usr ; cvs export -r ${RELEASETAG} src
.endif
+ ( cd ${CHROOTDIR}/usr/src/sys/conf && \
+ mv newvers.sh foo && \
+ sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh )
# To be used in development...
#find ${.CURDIR} -print | cpio -dumpv ${CHROOTDIR}
chmod 755 ${CHROOTDIR}/mk
OpenPOWER on IntegriCloud