Browse Source

src/Makefile.am: Don't make 'install' depend on 'all'.

This fixes the issue where installing will re-generate
the voices and may sometimes fail setting up the
shadow directories in the espeak-data folder.
master
Reece H. Dunn 12 years ago
parent
commit
1dc6c0a57d
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Makefile.am
  2. 1
    1
      src/Makefile.am

+ 1
- 1
Makefile.am View File



all: src/speak src/libespeak.so src/libespeak.a src/espeak src/espeakedit espeak-data/phontab dictionaries docs/speak_lib.h all: src/speak src/libespeak.so src/libespeak.a src/espeak src/espeakedit espeak-data/phontab dictionaries docs/speak_lib.h


install: all
install:
cd src && make DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) BINDIR=$(BINDIR) INCDIR=$(INCDIR) LIBDIR=$(LIBDIR) install && cd .. cd src && make DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) BINDIR=$(BINDIR) INCDIR=$(INCDIR) LIBDIR=$(LIBDIR) install && cd ..
install -m 755 src/espeakedit $(DESTDIR)$(BINDIR) install -m 755 src/espeakedit $(DESTDIR)$(BINDIR)



+ 1
- 1
src/Makefile.am View File

rm -f $(STATIC_LIBESPEAK) rm -f $(STATIC_LIBESPEAK)
rm -f $(ESPEAKEDIT) rm -f $(ESPEAKEDIT)


install: all
install:
rm -rf $(DESTDIR)$(DATADIR) rm -rf $(DESTDIR)$(DATADIR)
$(MKDIR) $(DESTDIR)$(BINDIR) $(MKDIR) $(DESTDIR)$(BINDIR)
$(MKDIR) $(DESTDIR)$(LIBDIR) $(MKDIR) $(DESTDIR)$(LIBDIR)

Loading…
Cancel
Save