From cd64bfeb53884d44eee497fa38759c40487ac8d6 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Mon, 4 Jan 2016 20:13:48 +0000 Subject: [PATCH] Install the espeak compatibility symlinks. --- Makefile.am | 5 +++++ configure.ac | 1 + 2 files changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index ba0b7fba..24611c9e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,6 +44,11 @@ install-data-hook: uninstall-hook $(MKDIR) $(DESTDIR)$(DATADIR) cp -prf espeak-data/* $(DESTDIR)$(DATADIR) +install-exec-hook: + cd $(DESTDIR)$(BINDIR) && rm -f espeak && $(LN_S) espeak-ng espeak + cd $(DESTDIR)$(BINDIR) && rm -f speak && $(LN_S) speak-ng speak + cd $(DESTDIR)$(LIBDIR) && rm -f libespeak.la && $(LN_S) libespeak-ng.la libespeak.la + clean-local: cd src && rm -f *.o *~ && cd .. diff --git a/configure.ac b/configure.ac index 8df45b73..08ecfa15 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,7 @@ dnl ================================================================ AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_LIBTOOL +AC_PROG_LN_S dnl ================================================================ dnl C99 compiler checks.