From 65d6419707b458d433973d24560c3d10cf230f12 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 11 Sep 2013 15:15:44 +0100 Subject: [PATCH] autotools: Use autotools to install speak_lib.h. --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 982f05ab..93a177cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,14 +48,12 @@ install-data-hook: install-exec-hook: $(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(LIBDIR) - $(MKDIR) $(DESTDIR)$(INCDIR) $(INSTALL) -m 755 src/espeak $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 src/espeakedit $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 src/libespeak.so.$(LIBTAG) $(DESTDIR)$(LIBDIR) $(INSTALL) -m 755 src/libespeak.a $(DESTDIR)$(LIBDIR) $(LN_SF) libespeak.so.$(LIBTAG) $(DESTDIR)$(LIBDIR)/libespeak.so.$(LIB_VERSION) $(LN_SF) libespeak.so.$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/libespeak.so - $(INSTALL) -pm 644 src/speak_lib.h $(DESTDIR)$(INCDIR) clean-local: cd src && rm -f *.o *~ && cd .. @@ -71,6 +69,10 @@ distclean-local: ##### build targets: +libespeak_includedir = $(includedir)/espeak +libespeak_include_HEADERS = \ + src/speak_lib.h + common_SOURCE = \ src/compiledict.cpp \ src/dictionary.cpp \