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

SHARED_VERSION=2:51:1 # = *.so.1.1.51 SHARED_VERSION=2:51:1 # = *.so.1.1.51


MKDIR=mkdir -p MKDIR=mkdir -p
RONN=ronn
KRAMDOWN=kramdown


# -Wno-endif-labels : Needed to prevent warnings in ieee80.c. # -Wno-endif-labels : Needed to prevent warnings in ieee80.c.
AM_CFLAGS = \ AM_CFLAGS = \
.md.html: _layouts/webpage.html .md.html: _layouts/webpage.html
@echo " MD $@" @echo " MD $@"
@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 > $@


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


##### vim: ##### vim:


##### documentation: ##### documentation:


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


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


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

Loading…
Cancel
Save