Browse Source

autotools: Use autotools to install speak_lib.h.

master
Reece H. Dunn 12 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

install-exec-hook: install-exec-hook:
$(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(BINDIR)
$(MKDIR) $(DESTDIR)$(LIBDIR) $(MKDIR) $(DESTDIR)$(LIBDIR)
$(MKDIR) $(DESTDIR)$(INCDIR)
$(INSTALL) -m 755 src/espeak $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 src/espeak $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 src/espeakedit $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 src/espeakedit $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 src/libespeak.so.$(LIBTAG) $(DESTDIR)$(LIBDIR) $(INSTALL) -m 755 src/libespeak.so.$(LIBTAG) $(DESTDIR)$(LIBDIR)
$(INSTALL) -m 755 src/libespeak.a $(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.$(LIBTAG) $(DESTDIR)$(LIBDIR)/libespeak.so.$(LIB_VERSION)
$(LN_SF) libespeak.so.$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/libespeak.so $(LN_SF) libespeak.so.$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/libespeak.so
$(INSTALL) -pm 644 src/speak_lib.h $(DESTDIR)$(INCDIR)


clean-local: clean-local:
cd src && rm -f *.o *~ && cd .. cd src && rm -f *.o *~ && cd ..


##### build targets: ##### build targets:


libespeak_includedir = $(includedir)/espeak
libespeak_include_HEADERS = \
src/speak_lib.h

common_SOURCE = \ common_SOURCE = \
src/compiledict.cpp \ src/compiledict.cpp \
src/dictionary.cpp \ src/dictionary.cpp \

Loading…
Cancel
Save