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.
This commit is contained in:
Reece H. Dunn
2013-01-18 21:48:10 +00:00
parent c8526d17f8
commit 1dc6c0a57d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ EXTRA_DIST += ChangeLog
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 ..
install -m 755 src/espeakedit $(DESTDIR)$(BINDIR)
+1 -1
View File
@@ -135,7 +135,7 @@ distclean: clean
rm -f $(STATIC_LIBESPEAK)
rm -f $(ESPEAKEDIT)
install: all
install:
rm -rf $(DESTDIR)$(DATADIR)
$(MKDIR) $(DESTDIR)$(BINDIR)
$(MKDIR) $(DESTDIR)$(LIBDIR)