mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-13 01:07:47 +00:00
make: support calling the _emoji build rule when CLDR_PATH is not specified
This commit is contained in:
+8
-4
@@ -411,10 +411,14 @@ espeakdata: \
|
||||
|
||||
dictsource/%_emoji:
|
||||
@echo " EMOJI $@"
|
||||
@tools/emoji \
|
||||
dictsource/en_emoji \
|
||||
`echo $@ | sed -e 's,dictsource/,,g' -e 's,_emoji,,g'` \
|
||||
${CLDR_PATH} > $@
|
||||
@if test x"${CLDR_PATH}" = x ; then \
|
||||
touch $@ ; \
|
||||
else \
|
||||
tools/emoji \
|
||||
dictsource/en_emoji \
|
||||
`echo $@ | sed -e 's,dictsource/,,g' -e 's,_emoji,,g'` \
|
||||
${CLDR_PATH} > $@ ; \
|
||||
fi
|
||||
|
||||
dictsource/%_extra:
|
||||
touch $@
|
||||
|
||||
Reference in New Issue
Block a user