Browse Source

autotools: Use autotools to install speak_lib.h.

master
Reece H. Dunn 11 years ago
parent
commit
65d6419707
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Makefile.am

+ 4
- 2
Makefile.am View File

@@ -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 \

Loading…
Cancel
Save