From e8bd59a8351511b812321f68906b54584ca9711e Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 23 Jun 2013 18:56:41 +0200 Subject: Add missing uninstall hooks --- menta/Makefile.am | 4 ++++ src/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1