gui: Try to remove empty directories when uninstalling.
This commit is contained in:
parent
033b3227c0
commit
6979ab7abb
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ dist_coreconfigs_DATA = $(CONFIG_FILES)
|
||||||
dist-hook:
|
dist-hook:
|
||||||
rm -rf $(distdir)/addons/.svn
|
rm -rf $(distdir)/addons/.svn
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
rmdir -p $(coreconfigsdir) || true
|
||||||
|
rmdir -p $(coreaddonsdir) || true
|
||||||
|
rmdir -p $(coredir) || true
|
||||||
|
|
||||||
# extra cruft to remove
|
# extra cruft to remove
|
||||||
DISTCLEANFILES = Makefile.in
|
DISTCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue