2
0

Makefile.am 811 B

12345678910111213141516171819202122232425262728293031
  1. MAINTAINERCLEANFILES = Makefile.in
  2. DATAFILES =
  3. if COMMON_CLIENT_DATA
  4. DATAFILES += grammar.jsgf grammar.mixed grammar.srgs grammar.xml \
  5. speak.txt speak.xml \
  6. one-16kHz.pcm one-8kHz.pcm \
  7. johnsmith-16kHz.pcm johnsmith-8kHz.pcm
  8. endif
  9. if DEMOSYNTH_PLUGIN
  10. DATAFILES += demo-16kHz.pcm demo-8kHz.pcm
  11. endif
  12. if DEMORECOG_PLUGIN
  13. DATAFILES += result.xml
  14. endif
  15. if DEMOVERIFIER_PLUGIN
  16. DATAFILES += result-verification.xml
  17. endif
  18. def-data:
  19. test -d $(DESTDIR)$(datadir) || $(mkinstalldirs) $(DESTDIR)$(datadir)
  20. for datafile in $(DATAFILES) ; do \
  21. $(INSTALL) -m 644 $(top_srcdir)/data/$$datafile $(DESTDIR)$(datadir); \
  22. done
  23. install-data-local:
  24. test -d $(DESTDIR)$(datadir) || $(MAKE) def-data