Makefile: shadow the phsource and dictsource directories instead of copying them

This commit is contained in:
Reece Dunn
2011-12-26 20:19:25 +00:00
parent 0644df4e0d
commit 550e3fb2e8
2 changed files with 25 additions and 3 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
PREFIX=/usr
REFIX=/usr
BINDIR=$(PREFIX)/bin
DATADIR=$(PREFIX)/share/espeak-data
@@ -45,8 +45,8 @@ espeak-phoneme-data:
espeak-data-dir:
rm -rf espeak-data/dictsource espeak-data/phsource espeak-data/phondata-manifest
cp -a phsource espeak-data/phsource
cp -a dictsource espeak-data/dictsource
./shadowdir $(PWD)/phsource $(PWD)/espeak-data/phsource
./shadowdir $(PWD)/dictsource $(PWD)/espeak-data/dictsource
espeak-data: src/espeakedit espeak-data-dir
rm -rf $(HOME)/espeak-data