Browse Source

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

master
Reece H. Dunn 11 years ago
parent
commit
ed18e418ca
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Makefile.am

+ 3
- 1
Makefile.am 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)


Loading…
Cancel
Save