mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 06:55:44 +00:00
Support converting the markdown-based documentation to HTML.
This commit is contained in:
+10
-3
@@ -50,15 +50,22 @@ distclean-local:
|
||||
rm -rf espeak-data/phondata-manifest
|
||||
rm -f espeak-data/*_dict
|
||||
|
||||
##### documentation:
|
||||
|
||||
%.html: %.md _layouts/webpage.html
|
||||
cat $< | sed -e 's/\.md)/.html)/g' | kramdown --template _layouts/webpage.html > $@
|
||||
|
||||
docs: README.html
|
||||
|
||||
docs/speak_lib.h: src/include/espeak-ng/speak_lib.h
|
||||
cp $< $@
|
||||
|
||||
##### build targets:
|
||||
|
||||
libespeak_ng_includedir = $(includedir)/espeak-ng
|
||||
libespeak_ng_include_HEADERS = \
|
||||
src/include/espeak-ng/speak_lib.h
|
||||
|
||||
docs/speak_lib.h: src/include/espeak-ng/speak_lib.h
|
||||
cp $< $@
|
||||
|
||||
lib_LTLIBRARIES += src/libespeak-ng.la
|
||||
|
||||
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm
|
||||
|
||||
Reference in New Issue
Block a user