Use portable rules to build the documentation.

This commit is contained in:
Reece H. Dunn
2015-12-28 20:03:52 +00:00
parent 6f4f6e573b
commit db077dd3f7
+7 -3
View File
@@ -50,15 +50,19 @@ distclean-local:
rm -rf espeak-data/phondata-manifest rm -rf espeak-data/phondata-manifest
rm -f espeak-data/*_dict rm -f espeak-data/*_dict
##### documentation: ##### custom rules:
%.html: %.md _layouts/webpage.html SUFFIXES=.html .md .ronn
.md.html: _layouts/webpage.html
cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \ cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \
kramdown --template _layouts/webpage.html > $@ kramdown --template _layouts/webpage.html > $@
%.html: %.ronn .ronn.html:
ronn --html $< ronn --html $<
##### documentation:
src/espeak-ng.1: src/espeak-ng.1.ronn src/espeak-ng.1: src/espeak-ng.1.ronn
ronn --roff $< ronn --roff $<