Commit 88c7f20b authored by Emanuele Aina's avatar Emanuele Aina Committed by Debarshi Ray

build: Fix `make distcheck` by updating the icon cache on uninstall too

Run gtk-update-icon-cache even on uninstall to clear the icon cache and
avoid the following `make distcheck' error:

ERROR: files left after uninstall:
parent bda4cf23
......@@ -3,7 +3,7 @@ SUBDIRS = 16x16 22x22 24x24 32x32 48x48 256x256
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
......@@ -12,6 +12,9 @@ install-data-hook:
echo "*** $(gtk_update_icon_cache)"; \
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
clean-local :
rm -f *~
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment