Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.130 1998/02/19 13:40:24 peterg +## Removed prerequisit from sspar.r target. +## ## Revision 1.129 1998/02/12 08:18:42 peterg ## VERSION 2.8 (St. Annes) ## ## Revision 1.128 1998/02/12 07:48:04 peterg ## Tidy mode copies all files (containing .) to work dir -- this makes @@ -547,11 +550,12 @@ echo ' mtt info -- info-based manual' echo ' mtt info topic' echo ' mtt hinfo -- hypertext manual' echo ' mtt manual -- dvi manual' echo ' mtt warranty' - echo ' mtt clean' + echo ' mtt clean -- cleans up intermediate files' + echo ' mtt Clean -- cleans up all files' echo ' mtt clean' echo ' mtt copy ' echo ' mtt rename ' echo ' mtt vc' echo ' mtt ' @@ -620,11 +624,18 @@ EOF exit fi # Clean up -if [ "$1" = "clean" ] && [ "$2" = "" ]; then +if [ "$1" = "clean" ]; then + echo 'Removing intermediate files' + rm -fr MTT_work + exit +fi + +# The big clean up +if [ "$1" = "Clean" ] && [ "$2" = "" ]; then echo 'Removing all generated files for all systems' rm -f *.log mtt_info.txt warning.txt rm -f *_abg.m *_abg.ps *_args.* *_cr.r *_cr.txt *_abg.tex rm -f *_sabg.fig *_sabg.ps *_head.fig *_bnd.fig rm -f *_sympar.r *_sympar.c *_sympar.h *_sympar.txt? *_sympar.tex @@ -645,11 +656,11 @@ rm -fR *_rep MTT_work exit fi # Clean up named system -if [ "$2" = "clean" ] && [ "$3" = "" ]; then +if [ "$2" = "Clean" ] && [ "$3" = "" ]; then echo 'Removing all generated files for system ' $1 rm -f *.log mtt_info.txt warning.txt rm -f $1_abg.m $1_abg.ps $1_args.* $1_cr.r $1_cr.txt $1_abg.tex rm -f $1_sabg.fig $1_sabg.ps $1_head.fig $1_bnd.fig rm -f $1_sympar.r $1_sympar.c $1_sympar.h $1_sympar.txt? $1_sympar.tex @@ -841,11 +852,11 @@ fi mtt -u -q $mtt_switches -S "$Directory" $1 $2 $3 $4 if [ "$3" != "view" ]; then - echo Copying " " $1_$2.$3 + # echo Copying " " $1_$2.$3 cp -u $1_$2.$3 .. fi # Remove the MTT_work directory if very tidy if [ "$verytidy" = "verytidy" ]; then @@ -1168,11 +1179,12 @@ #SUMMARY sub Executable subsystem list (sh) $1_sub.sh: $1_cmp.m cmp2sub_m2sh $1 #SUMMARY sub LaTeX subsystem list (tex) -#SUMMARY sub LaTeX subsystem list (tex) +#SUMMARY sub subsystem list (ps) +#SUMMARY sub subsystem list (view) $1_sub.tex: $1_sub.sh ifeq ($documenttype,section) sub_sh2tex $1 else sub_sh2tex -l $1 @@ -1521,10 +1533,12 @@ #Conversion of data files from dat to sdat format $1_odeso.sdat: $1_odeso.dat $1_struc.txt odeso_dat2sdat $1 +$1_odes.sdat: $1_odes.dat $1_struc.txt + odes_dat2sdat $1 #SUMMARY odess ode numerical steady-states - states (m) #SUMMARY odess ode numerical steady-states - states (dat) #SUMMARY odess ode numerical steady-states - states (ps) #SUMMARY odess ode numerical steady-states - states (view)