Browse Source

Use portable rules to build the documentation.

master
Reece H. Dunn 9 years ago
parent
commit
db077dd3f7
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      Makefile.am

+ 7
- 3
Makefile.am View File

@@ -50,15 +50,19 @@ distclean-local:
rm -rf espeak-data/phondata-manifest
rm -f espeak-data/*_dict

##### documentation:
##### custom rules:

SUFFIXES=.html .md .ronn

%.html: %.md _layouts/webpage.html
.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 $<


Loading…
Cancel
Save