Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.85 1997/06/27 12:14:49 peterg +## Upped version to 2.4++ +## # Revision 1.84 1997/06/13 14:08:23 peterg # Changed default rep.txt # # Revision 1.83 1997/06/13 09:18:28 peterg # Removed all params.m @@ -332,11 +335,11 @@ #Print header if not in quiet (-q) mode. if [ "$quiet" != "quiet" ]; then echo - echo 'MTT (Model Transformation Tools) version 2.4' + echo 'MTT (Model Transformation Tools) version 2.4++' echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' echo fi @@ -802,17 +805,17 @@ #SUMMARY rep report (tex) #SUMMARY rep report (view) $1_rep.txt: echo Creating $1_rep.txt ( \ - echo "%% Outline report file for system $1 ($1_rep.txt)"; \ + echo "# Outline report file for system $1 ($1_rep.txt)"; \ cat $MTTPATH/trans/m/rcs_header.txt; \ - echo "abg tex"; \ - echo "struc tex"; \ - echo "dae tex"; \ - echo "dm tex"; \ - echo "lmfr ps"; \ + echo "mtt $1 abg tex"; \ + echo "mtt $1 struc tex"; \ + echo "mtt $1 dae tex"; \ + echo "mtt $1 dm tex"; \ + echo "mtt $1 lmfr ps"; \ )> $1_rep.txt #SUMMARY rbg raw bond graph (m) #Raw bond graph: fig file to mfile $1_rbg.m: $1_abg.fig $1_lbl.txt @@ -1258,12 +1261,11 @@ #Report generation $1_rep.make: $1_rep.txt $1_args.m rep_txt2make $1 "$mtt_switches" -$1_rep.tex: $1_rep.make - cat $1_rep.make | sh +$1_rep.tex: $1_rep.txt rep_txt2tex $1; #SUMMARY abg Acausal bond graph report (tex) $1_abg.tex: $1_sub.sh abg2tex $1