From 6979ab7abb03af34085da94e405974a48e2653f7 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Tue, 26 May 2015 17:34:09 +0000 Subject: [PATCH] gui: Try to remove empty directories when uninstalling. --- gui/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/Makefile.am b/gui/Makefile.am index 7b4f05bb..9846d935 100644 --- a/gui/Makefile.am +++ b/gui/Makefile.am @@ -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