mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 15:49:48 +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 -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 $<
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user