mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Merge pull request #930
This commit is contained in:
+8
-2
@@ -487,10 +487,16 @@ dictsource/%_emoji:
|
||||
dictsource/%_extra:
|
||||
touch $@
|
||||
|
||||
# NOTE: % (pattern) rules are GNU make specific we can extract the 'stem' that
|
||||
# matched the % in the target ($@) using $(*F) (which isn't GNU make specific,
|
||||
# just this interpretation is.)
|
||||
#
|
||||
# The rm $@ stops espeak-ng trying to load the old dictionary when it is run
|
||||
# (at the cost of a spurious error message.)
|
||||
espeak-ng-data/%_dict: src/espeak-ng phsource/phonemes.stamp
|
||||
@echo " DICT $@"
|
||||
@cd dictsource && ESPEAK_DATA_PATH=$(CURDIR) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak-ng \
|
||||
--compile=`echo $@ | sed -e 's,espeak-ng-data/,,g' -e 's,_dict,,g'` && cd ..
|
||||
rm -f $@
|
||||
cd dictsource && ESPEAK_DATA_PATH=$(CURDIR) ../src/espeak-ng --compile="$(*F)"
|
||||
|
||||
dictionaries: \
|
||||
espeak-ng-data/af_dict \
|
||||
|
||||
Reference in New Issue
Block a user