Browse Source

Check for the ronn command in configure before building the man files.

master
Reece H. Dunn 9 years ago
parent
commit
5a3d5c0946
4 changed files with 16 additions and 4 deletions
  1. 0
    2
      .travis.yml
  2. 6
    0
      Makefile.am
  3. 2
    2
      README.md
  4. 8
    0
      configure.ac

+ 0
- 2
.travis.yml View File

before_install: before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq libpulse-dev portaudio19-dev libsonic-dev - sudo apt-get install -qq libpulse-dev portaudio19-dev libsonic-dev
- sudo apt-get install -qq ruby
- sudo gem install ronn


script: script:
- ./autogen.sh - ./autogen.sh

+ 6
- 0
Makefile.am View File

endif endif


bin_PROGRAMS += src/speak-ng bin_PROGRAMS += src/speak-ng

if HAVE_RONN
man1_MANS += src/speak-ng.1 man1_MANS += src/speak-ng.1
endif


src_speak_ng_LDADD = src/libespeak-ng.la src_speak_ng_LDADD = src/libespeak-ng.la
src_speak_ng_LDFLAGS = -static src_speak_ng_LDFLAGS = -static
src_speak_ng_SOURCES = src/speak-ng.c src_speak_ng_SOURCES = src/speak-ng.c


bin_PROGRAMS += src/espeak-ng bin_PROGRAMS += src/espeak-ng

if HAVE_RONN
man1_MANS += src/espeak-ng.1 man1_MANS += src/espeak-ng.1
endif


src_espeak_ng_LDADD = src/libespeak-ng.la src_espeak_ng_LDADD = src/libespeak-ng.la
src_espeak_ng_CFLAGS = -Isrc/include/espeak-ng src_espeak_ng_CFLAGS = -Isrc/include/espeak-ng

+ 2
- 2
README.md View File

To build the documentation, you need: To build the documentation, you need:


1. the `kramdown` markdown processor. 1. the `kramdown` markdown processor.
2. the `ronn` man-page markdown processor.
2. the `ronn` man-page markdown processor to build the man pages.


### Debian ### Debian


|---------------|------------------------------------------------------------------| |---------------|------------------------------------------------------------------|
| autotools | `sudo apt-get install make autoconf automake libtool pkg-config` | | autotools | `sudo apt-get install make autoconf automake libtool pkg-config` |
| c11 compiler | `sudo apt-get install gcc` | | c11 compiler | `sudo apt-get install gcc` |
| ronn | `sudo apt-get install ruby-ronn` |


Optional dependencies: Optional dependencies:


| portaudio 18 | `sudo apt-get install libportaudio-dev` | | portaudio 18 | `sudo apt-get install libportaudio-dev` |
| portaudio 19 | `sudo apt-get install portaudio19-dev` | | portaudio 19 | `sudo apt-get install portaudio19-dev` |
| sonic | `sudo apt-get install libsonic-dev` | | sonic | `sudo apt-get install libsonic-dev` |
| ronn | `sudo apt-get install ruby-ronn` |


Documentation dependencies: Documentation dependencies:



+ 8
- 0
configure.ac View File

AM_CONDITIONAL(OPT_MBROLA, [test x"$have_mbrola" = xyes]) AM_CONDITIONAL(OPT_MBROLA, [test x"$have_mbrola" = xyes])
AM_CONDITIONAL(OPT_ASYNC, [test x"$have_async" = xyes]) AM_CONDITIONAL(OPT_ASYNC, [test x"$have_async" = xyes])


dnl ================================================================
dnl ronn checks.
dnl ================================================================

AC_CHECK_PROG(RONN, ronn, ronn, no)

AM_CONDITIONAL(HAVE_RONN, [test ! x"$RONN" = xno])

dnl ================================================================ dnl ================================================================
dnl Extended dictionary checks. dnl Extended dictionary checks.
dnl ================================================================ dnl ================================================================

Loading…
Cancel
Save