Index: mttroot/mtt/bin/mttrc ================================================================== --- mttroot/mtt/bin/mttrc +++ mttroot/mtt/bin/mttrc @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.14 2000/12/27 13:11:43 peterg +## *** empty log message *** +## ## Revision 1.13 2000/10/03 12:12:14 peterg ## New path structure to account for three way split in mtt tree ## ## Revision 1.12 2000/09/18 12:17:07 peterg ## Now includes to control system toolbox in OCTAVE_PATH @@ -53,24 +56,26 @@ # Put under RCS at last # Added CC variable # ############################################################### +MTT_BASE=$1 -#Edit the following line to show the location of mtt -# This is now the directory BELOW mtt, mtt-lib and mtt-doc -export MTT_BASE=/home/peterg/mtt_new +if [ -z "$MTT_BASE" ]; then + echo mttrc requires one argument: eg mttrc /usr/share/mtt/latest + exit +fi # The following line sets up the make to use -- gmake is the standard # but you may wish to use lsmake for parallelism export MAKE='make' # The following sets up the c compiler export CC='gcc' # Setup the paths -export MTTPATH=$MTT_BASE/mtt +export MTTPATH=$MTT_BASE/bin export MTT_LIB=$MTT_BASE/mtt-lib export MTT_DOC=$MTT_BASE/mtt-doc export MTT_CC=$MTT_BASE/mtt-cc export MTT_COMPONENTS=$MTT_LIB/comp