Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.144 1998/03/27 13:32:25 peterg +## Removed sympar prerequisites from ss reps. +## ## Revision 1.143 1998/03/22 21:14:03 peterg ## Added obspar.r representation ## Help now case insensitive ## ## Revision 1.142 1998/03/20 15:09:26 peterg @@ -568,11 +571,12 @@ done #Print header if not in quiet (-q) mode. if [ "$quiet" != "quiet" ]; then echo - echo 'MTT (Model Transformation Tools) version 2.8++ ($Date$)' + echo 'MTT (Model Transformation Tools) version 2.9' + echo '($Date$)' echo 'This is free software with ABSOLUTELY NO WARRANTY.' echo 'Type `mtt warranty'\' 'for details.' echo # Print current directory if in -d mode if [ -n "$directory" ]; then @@ -920,11 +924,11 @@ fi # Save up the argument list in a file; but only if argument has changed -ARGS=$4; _ARGS=_$4 +ARGS=$4; _ARGS=-$4; __ARGS=`echo $_ARGS | tr ',' '-'` #DIFF doesn't like empty files - so put a blank if empty if [ -z "$ARGS" ]; then ARGS=' '; _ARGS=''; @@ -1788,12 +1792,12 @@ $1_$2.ps: $1_$2.gdat gdat2ps $1_$2 '$ARGS'; ifeq ($PLOTTYPE,multiple) ifneq ($_ARGS,) - echo Creating $1_$2$_ARGS.ps - cp $1_$2.ps $1_$2$_ARGS.ps + echo Creating $1_$2$__ARGS.ps + cp $1_$2.ps $1_$2$__ARGS.ps endif endif endif @@ -1848,10 +1852,14 @@ #View a tex file $1_$2.tview: $1_$2.dvi echo Creating view of $1_$2 $DVIVIEW $1_$2.dvi& +#Generate pdf +$1_$2.pdf: $1_$2.ps + echo Creating $1_$2.pdf + ps2pdf $1_$2.ps $1_$2.pdf #Report generation $1_rep.make: $1_rep.txt $1_args.m rep_txt2make $1 "$mtt_switches" make_reps: