mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-08 15:41:16 +00:00
autotools: Use autotools to install speak_lib.h.
This commit is contained in:
+4
-2
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user