Browse Source

make: Dictionary _emoji, _extra, and _dict rules currently depend on GNU make patterns to work.

master
Reece H. Dunn 7 years ago
parent
commit
9f0fbed8ac
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Makefile.am

+ 4
- 4
Makefile.am View File



##### custom rules: ##### custom rules:


SUFFIXES=.html .md .ronn .check .test _emoji _extra _dict
SUFFIXES=.html .md .ronn .check .test


.md.html: _layouts/webpage.html .md.html: _layouts/webpage.html
cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \ cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \


##### dictionaries: ##### dictionaries:


dictsource/_emoji:
dictsource/%_emoji:
@echo " EMOJI $@" @echo " EMOJI $@"
@if test x"${CLDR_PATH}" = x ; then \ @if test x"${CLDR_PATH}" = x ; then \
touch $@ ; \ touch $@ ; \
${CLDR_PATH} > $@ ; \ ${CLDR_PATH} > $@ ; \
fi fi


dictsource/_extra:
dictsource/%_extra:
touch $@ touch $@


espeak-ng-data/_dict: src/espeak-ng phsource/phonemes.stamp
espeak-ng-data/%_dict: src/espeak-ng phsource/phonemes.stamp
@echo " DICT $@" @echo " DICT $@"
@cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak-ng \ @cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak-ng \
--compile=`echo $@ | sed -e 's,espeak-ng-data/,,g' -e 's,_dict,,g'` && cd .. --compile=`echo $@ | sed -e 's,espeak-ng-data/,,g' -e 's,_dict,,g'` && cd ..

Loading…
Cancel
Save