make: support calling the _emoji build rule when CLDR_PATH is not specified

This commit is contained in:
Reece H. Dunn
2017-06-04 11:47:43 +01:00
parent 11419b165e
commit 5c5bb2683f
+8 -4
View File
@@ -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 $@