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
| 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) | ||||
| 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) |