summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-06-23 18:56:41 +0200
committerStefano Karapetsas <[email protected]>2013-06-23 18:56:41 +0200
commite8bd59a8351511b812321f68906b54584ca9711e (patch)
tree28fd86ec588c632aeb2b0de948ee1b3d415b2955
parent985afc87dda4a650f5e50aa8951ba0a9c746d805 (diff)
downloadmate-icon-theme-e8bd59a8351511b812321f68906b54584ca9711e.tar.bz2
mate-icon-theme-e8bd59a8351511b812321f68906b54584ca9711e.tar.xz
Add missing uninstall hooks
-rw-r--r--menta/Makefile.am4
-rw-r--r--src/Makefile.am2
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 [email protected]/@/@`; do \
rm -f $(DESTDIR)$(themedir)$$file; \
done; \
+ for file in `find . -name *.svg | sed [email protected]/@/@`; 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