Commit 0ed48ce0 authored by ram's avatar ram
Browse files

Flushed -x flag, and made print the features list.

Changed to look for CMUCL_ROOT env variable, and if defined use it instead of
/afs/cs/project/clisp.
parent 4cf24cb7
#!/bin/csh -fx #!/bin/csh -f
# #
# mk-lisp -- script for building full lisp cores. # mk-lisp -- script for building full lisp cores.
# #
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/mk-lisp,v 1.9 1991/11/26 22:13:21 wlott Exp $ # $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/mk-lisp,v 1.10 1992/02/18 19:09:18 ram Exp $
if ($#argv) then if ($#argv) then
set subdir = $argv[1] set subdir = $argv[1]
...@@ -12,8 +12,14 @@ else ...@@ -12,8 +12,14 @@ else
set features = () set features = ()
endif endif
set dest = /afs/cs/project/clisp/build/@sys/$subdir if $?CMUCL_ROOT then
set src = /afs/cs/project/clisp/src/$subdir set root = $CMUCL_ROOT
else
set root = /afs/cs/projcet/clisp
endif
set dest = $root/build/@sys/$subdir
set src = $root/src/$subdir
if (-e $dest/ldb/kernel.core) then if (-e $dest/ldb/kernel.core) then
set core = $dest/ldb/kernel.core set core = $dest/ldb/kernel.core
...@@ -50,7 +56,8 @@ setenv ACK2 $FOO ...@@ -50,7 +56,8 @@ setenv ACK2 $FOO
setenv RAZ2 $FOO setenv RAZ2 $FOO
setenv GORP2 $FOO setenv GORP2 $FOO
echo Building lisp.core dated $version from the \`\`$subdir\'\' subdir. echo Building lisp.core version $version from the \`\`$subdir\'\' subdir.
echo "Features: $features"
$dest/ldb/ldb -core $core << EOF $dest/ldb/ldb -core $core << EOF
(setf *features* (list* $features *features*)) (setf *features* (list* $features *features*))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment