Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,14 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.202 1999/02/17 01:59:20 peterg +## Now handles html copy correctely (ie mv directory to ..) +## Fixed path probs with html +## ## Revision 1.201 1999/02/16 03:50:09 peterg ## Removed explicit _smx targets ## ## Revision 1.200 1998/12/03 17:11:03 peterg ## Added -dc (derivative causality) switch. @@ -686,11 +690,11 @@ #Check $MTTPATH has been set mtt_check_var "$MTTPATH" "MTTPATH" #Version -version='3.4' +version='3.5' # MTT recursion level is zero unless explicitly set level=0 #Computation mode is octave by default @@ -1514,21 +1518,23 @@ txt2c $1 numpar #SUMMARY input numerical input declaration -- default (txt) #SUMMARY state numerical state declaration -- default (txt) ifeq ($steadystate_computation,yes) -$1_input.txt: +$1_input.txt: mtt -q $1 ss r mtt -q $1 struc txt + mtt -q $1 switch txt struc2input_txt2txt -ss $1 $1_state.txt: mtt -q $1 ss r mtt -q $1 struc txt struc2state_txt2txt -ss $1 else $1_input.txt: mtt -q $1 struc txt + mtt -q $1 switch txt struc2input_txt2txt $1 $1_state.txt: mtt -q $1 struc txt struc2state_txt2txt $1 endif @@ -2333,11 +2339,11 @@ make_status=$? # Tidy up. # echo Removing log files and other garbage rm -f *_unique_raw_list *_raw_list - rm -f mtt_error.txt mtt_info.txt a.out + rm -f mtt_error.txt mtt_info.txt rm -f mtt_info.txt warning.txt # rm -f *_*.idx *_*.ind *_*.ilg *_*.lof *_*.toc # Remove logs if not debugging if [ "$debug" != "debug" ]; then