mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Use portable rules to build the documentation.
This commit is contained in:
+7
-3
@@ -50,15 +50,19 @@ distclean-local:
|
||||
rm -rf espeak-data/phondata-manifest
|
||||
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' | \
|
||||
kramdown --template _layouts/webpage.html > $@
|
||||
|
||||
%.html: %.ronn
|
||||
.ronn.html:
|
||||
ronn --html $<
|
||||
|
||||
##### documentation:
|
||||
|
||||
src/espeak-ng.1: src/espeak-ng.1.ronn
|
||||
ronn --roff $<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user