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

docs/speak_lib.h \ docs/speak_lib.h \
dictionaries dictionaries


install-data-hook:
uninstall-hook:
rm -rf $(DESTDIR)$(DATADIR) rm -rf $(DESTDIR)$(DATADIR)

install-data-hook: uninstall-hook
$(MKDIR) $(DESTDIR)$(DATADIR) $(MKDIR) $(DESTDIR)$(DATADIR)
cp -prf espeak-data/* $(DESTDIR)$(DATADIR) cp -prf espeak-data/* $(DESTDIR)$(DATADIR)



Loading…
Cancel
Save