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

@@ -10,8 +10,6 @@ branches:
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libpulse-dev portaudio19-dev libsonic-dev
- sudo apt-get install -qq ruby
- sudo gem install ronn

script:
- ./autogen.sh

+ 6
- 0
Makefile.am View File

@@ -161,7 +161,10 @@ endif
endif

bin_PROGRAMS += src/speak-ng

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

src_speak_ng_LDADD = src/libespeak-ng.la
src_speak_ng_LDFLAGS = -static
@@ -169,7 +172,10 @@ src_speak_ng_CFLAGS = -Isrc/libespeak-ng -Isrc/include/espeak-ng -D _POSIX_C_SO
src_speak_ng_SOURCES = src/speak-ng.c

bin_PROGRAMS += src/espeak-ng

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

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

+ 2
- 2
README.md View File

@@ -45,7 +45,7 @@ Optionally, you need:
To build the documentation, you need:

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

@@ -55,7 +55,6 @@ Core dependencies:
|---------------|------------------------------------------------------------------|
| autotools | `sudo apt-get install make autoconf automake libtool pkg-config` |
| c11 compiler | `sudo apt-get install gcc` |
| ronn | `sudo apt-get install ruby-ronn` |

Optional dependencies:

@@ -65,6 +64,7 @@ Optional dependencies:
| portaudio 18 | `sudo apt-get install libportaudio-dev` |
| portaudio 19 | `sudo apt-get install portaudio19-dev` |
| sonic | `sudo apt-get install libsonic-dev` |
| ronn | `sudo apt-get install ruby-ronn` |

Documentation dependencies:


+ 8
- 0
configure.ac View File

@@ -259,6 +259,14 @@ AM_CONDITIONAL(OPT_KLATT, [test x"$have_klatt" = xyes])
AM_CONDITIONAL(OPT_MBROLA, [test x"$have_mbrola" = 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 Extended dictionary checks.
dnl ================================================================

Loading…
Cancel
Save