Add the stuff to munge the name of the release/snap/whatever we build.

This commit is contained in:
Poul-Henning Kamp 1995-04-23 23:06:36 +00:00
parent a34bad999b
commit ab0e9cdc60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8034

View File

@ -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