autotools: Support uninstalling the installed espeak-data when 'make uninstall' is run.

This commit is contained in:
Reece H. Dunn
2013-09-12 10:18:54 +01:00
parent c69ff7ebd7
commit ed18e418ca
+3 -1
View File
@@ -40,8 +40,10 @@ all-local: \
docs/speak_lib.h \
dictionaries
install-data-hook:
uninstall-hook:
rm -rf $(DESTDIR)$(DATADIR)
install-data-hook: uninstall-hook
$(MKDIR) $(DESTDIR)$(DATADIR)
cp -prf espeak-data/* $(DESTDIR)$(DATADIR)