2014-11-17 16:37:15 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
DATAFILES =
|
|
|
|
|
|
|
|
if COMMON_CLIENT_DATA
|
|
|
|
DATAFILES += grammar.jsgf grammar.mixed grammar.srgs grammar.xml \
|
|
|
|
speak.txt speak.xml \
|
|
|
|
one-16kHz.pcm one-8kHz.pcm \
|
|
|
|
johnsmith-16kHz.pcm johnsmith-8kHz.pcm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if DEMOSYNTH_PLUGIN
|
|
|
|
DATAFILES += demo-16kHz.pcm demo-8kHz.pcm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if DEMORECOG_PLUGIN
|
|
|
|
DATAFILES += result.xml
|
|
|
|
endif
|
|
|
|
|
|
|
|
if DEMOVERIFIER_PLUGIN
|
|
|
|
DATAFILES += result-verification.xml
|
|
|
|
endif
|
2010-02-22 15:43:43 +00:00
|
|
|
|
|
|
|
def-data:
|
2014-11-17 16:37:15 +00:00
|
|
|
test -d $(DESTDIR)$(datadir) || $(mkinstalldirs) $(DESTDIR)$(datadir)
|
|
|
|
for datafile in $(DATAFILES) ; do \
|
|
|
|
$(INSTALL) -m 644 $(top_srcdir)/data/$$datafile $(DESTDIR)$(datadir); \
|
2010-02-22 15:43:43 +00:00
|
|
|
done
|
2014-11-17 16:37:15 +00:00
|
|
|
|
2010-02-22 15:43:43 +00:00
|
|
|
install-data-local:
|
2014-11-17 16:37:15 +00:00
|
|
|
test -d $(DESTDIR)$(datadir) || $(MAKE) def-data
|