Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.99 1997/12/04 22:06:53 peterg +## Added view arguments for graph plotting +## ## Revision 1.98 1997/12/04 10:58:15 peterg ## Tidied up switches ## ## Revision 1.97 1997/12/04 10:44:33 peterg ## Changed $cc to $CC @@ -1294,15 +1297,23 @@ echo Creating $1_$2.ps multi_command2 'fig2dev -Lps' $1 $2.fig $2.ps | sh endif ifeq ($REPTYPE,data) + +ifdef $ARGS #Create PostScript version of dat file # + another version with Args added to the name $1_$2.ps: $1_$2.gdat gdat2ps $1_$2 '$ARGS' - cp -u $1_$2.ps $1_$2$_ARGS.ps + cp $1_$2.ps $1_$2$_ARGS.ps +else +#Create PostScript version of dat file +$1_$2.ps: $1_$2.gdat + gdat2ps $1_$2 '$ARGS' +endif + endif ifeq ($REPTYPE,tex) #Create PostScript version of dvi file $1_$2.ps: $1_$2.dvi