Changeset a4d0da5 for app/dist/common/utt_make_config.pl
- Timestamp:
- 03/27/08 20:49:46 (17 years ago)
- Branches:
- master, help
- Children:
- 2fe08ac
- Parents:
- ef85bd7
- git-author:
- pawelk <pawelk@…> (03/27/08 20:49:46)
- git-committer:
- pawelk <pawelk@…> (03/27/08 20:49:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/dist/common/utt_make_config.pl
r389de9a ra4d0da5 15 15 16 16 conf_cor(catfile($usr_home, 'cor.conf'), $sys_home); 17 conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 17 18 conf_grp(catfile($usr_home, 'grp.conf'), $sys_home); 18 19 conf_gue(catfile($usr_home, 'gue.conf'), $sys_home); … … 59 60 } 60 61 62 sub conf_compiledic() { 63 my $compiledic_file = shift; 64 my $utthome = shift; 65 open(FILE, ">$compiledic_file"); 66 67 print FILE makeConfigHeader(); 68 my $hm = home(); 69 my $lang=`grep language $hm/.utt/utt.conf | cut -d= -f 2`; 70 chomp $lang; 71 # powinno byc $utthome/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8892-2.sym 72 # ale to bez sensu 73 print FILE "symbols=", abs_path("$utthome/share/utt"); 74 print FILE "/$lang/$lang.sym\n"; 75 76 close FILE; 77 } 78 79 sub conf_grp() { 80 my $grp_file = shift; 81 my $utthome = shift; 82 open(FILE, ">$grp_file"); 83 84 print FILE makeConfigHeader(); 85 print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n"; 86 87 close FILE; 88 } 89 61 90 sub conf_cor() { 62 91 my $cor_file = shift;
Note: See TracChangeset
for help on using the changeset viewer.