Support converting the markdown-based documentation to HTML.

This commit is contained in:
Reece H. Dunn
2015-12-22 10:08:51 +00:00
parent f10b2ccb85
commit 0ad59a7f55
4 changed files with 94 additions and 11 deletions
+10 -3
View File
@@ -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