Subject: build starter
To: None <port-vax@netbsd.org>
From: Chuck McManis <cmcmanis@mcmanis.com>
List: port-vax
Date: 03/17/2000 09:09:44
Since I'm doing this a lot :-) I've written up a script to kick off the 
build "remembering" all the things that trying to do. Originally I had 
tried setting some variables in /etc/mk.conf but since that isn't "visible" 
I end up forgetting that things are set there :-( [I call this script 'go' 
and its in /usr/src]


--Chuck


#!/bin/sh
#
# A script for kicking off the build that "remembers"
# all the things I want to set. Note that when you've
# actually installed current you probably won't need to
# use -m on make but it doesn't hurt.
#
echo building the system
MKMAN=no ; export MKMAN
DESTDIR=/usr/build ; export DESTDIR
OBJDIR=/usr/obj ; export OBJDIR
unlimit datasize
make -m /usr/src/share/mk UPDATE=1 build 2>1 | tee -a make.log
echo Build stopped >> make.log
exit 0