diff options
-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 |