Browse Source

portability: use suffix rules instead of pattern rules.

Closes #396.
master
Juho Hiltunen 7 years ago
parent
commit
4e8d47d2cc
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Makefile.am

+ 5
- 5
Makefile.am View File

@@ -77,7 +77,7 @@ distclean-local:

##### custom rules:

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

.md.html: _layouts/webpage.html
cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \
@@ -245,7 +245,7 @@ tests_api_test_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_api_test_LDADD = src/libespeak-ng-test.la
tests_api_test_SOURCES = tests/api.c

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

@@ -435,7 +435,7 @@ espeakdata: \

##### dictionaries:

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

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

espeak-ng-data/%_dict: src/espeak-ng phsource/phonemes.stamp
espeak-ng-data/_dict: src/espeak-ng phsource/phonemes.stamp
@echo " DICT $@"
@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 ..

Loading…
Cancel
Save