gui: Try to remove empty directories when uninstalling.

This commit is contained in:
tgoff0 2015-05-26 17:34:09 +00:00
parent 033b3227c0
commit 6979ab7abb

View file

@ -63,6 +63,11 @@ dist_coreconfigs_DATA = $(CONFIG_FILES)
dist-hook:
rm -rf $(distdir)/addons/.svn
uninstall-hook:
rmdir -p $(coreconfigsdir) || true
rmdir -p $(coreaddonsdir) || true
rmdir -p $(coredir) || true
# extra cruft to remove
DISTCLEANFILES = Makefile.in