Browse Source

Merge remote-tracking branch 'jaacoppi/portability'

master
Reece H. Dunn 7 years ago
parent
commit
c8db203649
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Makefile.am

+ 5
- 5
Makefile.am View File



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


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


.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' | \
tests_api_test_LDADD = src/libespeak-ng-test.la tests_api_test_LDADD = src/libespeak-ng-test.la
tests_api_test_SOURCES = tests/api.c tests_api_test_SOURCES = tests/api.c


%.check: %.test
.test.check:
@echo " TEST $<" @echo " TEST $<"
@ESPEAK_DATA_PATH=$(PWD) $< && echo " PASSED $<" @ESPEAK_DATA_PATH=$(PWD) $< && echo " PASSED $<"




##### 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