Browse Source

autotools: build the 'eu' dictionary

master
Reece H. Dunn 11 years ago
parent
commit
5c04de2bea
2 changed files with 10 additions and 1 deletions
  1. 8
    0
      Makefile.am
  2. 2
    1
      mkdictlist

+ 8
- 0
Makefile.am View File

phsource/ph_assamese \ phsource/ph_assamese \
phsource/ph_azerbaijani \ phsource/ph_azerbaijani \
phsource/ph_base2 \ phsource/ph_base2 \
phsource/ph_basque \
phsource/ph_bengali \ phsource/ph_bengali \
phsource/ph_bulgarian \ phsource/ph_bulgarian \
phsource/ph_catalan \ phsource/ph_catalan \
espeak-data/eo_dict \ espeak-data/eo_dict \
espeak-data/es_dict \ espeak-data/es_dict \
espeak-data/et_dict \ espeak-data/et_dict \
espeak-data/eu_dict \
espeak-data/fa_dict \ espeak-data/fa_dict \
espeak-data/fi_dict \ espeak-data/fi_dict \
espeak-data/fr_dict \ espeak-data/fr_dict \
espeak-data/et_dict: src/espeak phsource/phonemes.stamp dictsource/et_list dictsource/et_rules dictsource/et_extra espeak-data/et_dict: src/espeak phsource/phonemes.stamp dictsource/et_list dictsource/et_rules dictsource/et_extra
cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak --compile=et && cd .. cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak --compile=et && cd ..


eu: espeak-data/eu_dict
dictsource/eu_extra:
touch dictsource/eu_extra
espeak-data/eu_dict: src/espeak phsource/phonemes.stamp dictsource/eu_list dictsource/eu_rules dictsource/eu_extra
cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak --compile=eu && cd ..

fa: espeak-data/fa_dict fa: espeak-data/fa_dict
dictsource/fa_extra: dictsource/fa_extra:
touch dictsource/fa_extra touch dictsource/fa_extra

+ 2
- 1
mkdictlist View File

f.write('phsource/phonemes.stamp: \\\n') f.write('phsource/phonemes.stamp: \\\n')
for phonfile in sorted(phoneme_data): for phonfile in sorted(phoneme_data):
f.write('\t%s \\\n' % phonfile) f.write('\t%s \\\n' % phonfile)
f.write('\tphsource/phonemes\n')
f.write('\tphsource/phonemes \\\n')
f.write('\tsrc/espeakedit\n')
f.write('\tESPEAK_DATA_PATH=$(PWD) src/espeakedit --compile && touch $@\n') f.write('\tESPEAK_DATA_PATH=$(PWD) src/espeakedit --compile && touch $@\n')
f.write('\n') f.write('\n')



Loading…
Cancel
Save