From: Michael Orlitzky Date: Mon, 8 Feb 2021 16:49:07 +0000 (-0500) Subject: icons/Makefile.am: regenerate the icon cache after an uninstall, too. X-Git-Tag: v1.0.3~7 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=94a6ebd93eb076a65054e97aeebe58c12ad3524a;p=xfce4-hdaps.git icons/Makefile.am: regenerate the icon cache after an uninstall, too. This fixes "make distcheck" which otherwise complains about the leftover icon cache file. --- diff --git a/icons/Makefile.am b/icons/Makefile.am index 652d7be..2052549 100644 --- a/icons/Makefile.am +++ b/icons/Makefile.am @@ -17,12 +17,23 @@ SUBDIRS = \ gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor install-data-hook: - @-if test -z "$(DESTDIR)"; then \ + @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. Remember to run:"; \ - echo "***"; \ + echo "***"; \ echo "*** $(gtk_update_icon_cache)"; \ - echo "***"; \ + echo "***"; \ + fi + +uninstall-hook: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. Remember to run:"; \ + echo "***"; \ + echo "*** $(gtk_update_icon_cache)"; \ + echo "***"; \ fi