diff options
author | Stefano Karapetsas <[email protected]> | 2013-06-23 18:56:41 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-06-23 18:56:41 +0200 |
commit | e8bd59a8351511b812321f68906b54584ca9711e (patch) | |
tree | 28fd86ec588c632aeb2b0de948ee1b3d415b2955 | |
parent | 985afc87dda4a650f5e50aa8951ba0a9c746d805 (diff) | |
download | mate-icon-theme-e8bd59a8351511b812321f68906b54584ca9711e.tar.bz2 mate-icon-theme-e8bd59a8351511b812321f68906b54584ca9711e.tar.xz |
Add missing uninstall hooks
-rw-r--r-- | menta/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/menta/Makefile.am b/menta/Makefile.am index 4f29fa2..f9b4dac 100644 --- a/menta/Makefile.am +++ b/menta/Makefile.am @@ -34,6 +34,10 @@ uninstall-local: for file in `find . -name *.png | sed s@./@/@`; do \ rm -f $(DESTDIR)$(themedir)$$file; \ done; \ + for file in `find . -name *.svg | sed s@./@/@`; do \ + rm -f $(DESTDIR)$(themedir)$$file; \ + done; \ + rm -f $(DESTDIR)$(themedir)/index.theme; \ fi MAINTAINERCLEANFILES = \ diff --git a/src/Makefile.am b/src/Makefile.am index 0cd35a2..538223c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,7 @@ install-data-local: ## FIXME we should add a way to remove links generated by icon mapping uninstall-local: for size in $(render_sizes); do \ - for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size && find . -name "*.png"`; do \ + for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size && find . -name "*.png" -o -name "*.icon"`; do \ rm -f $(DESTDIR)$(themedir)/$$size/$$file; \ done; \ done |