Browse Source

Update Makefile.am

Allows setting the path for ronn and kramdown
master
Daniel Bair 5 years ago
parent
commit
6834b2f8c9
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      Makefile.am

+ 6
- 4
Makefile.am View File

@@ -14,6 +14,8 @@ pkgconfig_DATA = espeak-ng.pc
SHARED_VERSION=2:51:1 # = *.so.1.1.51

MKDIR=mkdir -p
RONN=ronn
KRAMDOWN=kramdown

# -Wno-endif-labels : Needed to prevent warnings in ieee80.c.
AM_CFLAGS = \
@@ -79,10 +81,10 @@ SUFFIXES=.html .md .ronn .check .test
.md.html: _layouts/webpage.html
@echo " MD $@"
@cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \
kramdown --template _layouts/webpage.html > $@
$(KRAMDOWN) --template _layouts/webpage.html > $@

.ronn.html:
ronn --html $<
$(RONN) --html $<

##### vim:

@@ -101,10 +103,10 @@ EXTRA_DIST += $(vim_addons_syntax_DATA)
##### documentation:

src/espeak-ng.1: src/espeak-ng.1.ronn
ronn --roff $<
$(RONN) --roff $<

src/speak-ng.1: src/speak-ng.1.ronn
ronn --roff $<
$(RONN) --roff $<

docs_MARKDOWN != ls docs/*.md docs/*/*.md docs/*/*/*.md
docs_HTML = ${docs_MARKDOWN:.md=.html}

Loading…
Cancel
Save