Index: mttroot/mtt/bin/trans/awk/rep_txt2make.awk ================================================================== --- mttroot/mtt/bin/trans/awk/rep_txt2make.awk +++ mttroot/mtt/bin/trans/awk/rep_txt2make.awk @@ -10,31 +10,25 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +# Revision 1.3 1997/05/19 15:40:04 peterg +# Pass mtt swithches to the new make file +# # Revision 1.2 1996/11/21 15:57:28 peterg # Now runs mtt quietly. # # Revision 1.1 1996/08/18 19:59:00 peter # Initial revision # ############################################################### -BEGIN { - split(ARGV[1],a,"_"); - system_name = a[1]; - } -{ - if (NF==2) { - if( match("tex txt r m ps",$2)>0) { - printf("mtt -q %s %s %s %s\n ", switches, system_name, $1, $2) - } - } -} -END { - +{ + if (NF==2) + if( match("tex txt r m ps",$2)>0) + print "mtt -q", switches, system_name, $1, $2 }