head     1.3;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     92.02.26.01.11.18;  author wlott;  state Exp;
branches ;
next     1.2;

1.2
date     91.12.13.10.32.28;  author wlott;  state Exp;
branches ;
next     1.1;

1.1
date     91.12.08.03.09.10;  author wlott;  state Exp;
branches ;
next     ;


desc
@Script to run worldbuild
@


1.3
log
@Load target:bootstrap if it's there.
@
text
@#!/bin/csh -fx
#
#  do-worldbuild -- script to run worldbuild
#
# $Header: do-worldbuild,v 1.2 91/12/13 10:32:28 wlott Locked $

if ($#argv) then
	set subdir = $argv[1]
else
	set subdir = alpha
endif

set dest = /afs/cs/project/clisp/build/@@sys/$subdir
set src = /afs/cs/project/clisp/src/$subdir

if ($?LISP) then
	set lisp = "$LISP"
else
	set lisp = lisp
endif

$lisp -noinit << EOF
(setf (search-list "target:") '("$dest/" "$src/"))
(load "target:bootstrap" :if-does-not-exist nil)
(load "target:tools/setup")
(load "target:compiler/generic/genesis")
(load "target:tools/worldbuild")
(quit)
EOF
@


1.2
log
@Wrapped $LISP with "..." so the expansion is syntactically correct.
@
text
@d5 1
a5 1
# $Header: do-worldbuild,v 1.1 91/12/08 03:09:10 wlott Locked $
d24 1
@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
# $Header$
d17 1
a17 1
	set lisp = $LISP
@
