Skip to content

Commit

Permalink
Fix make distcheck by updating the icon cache on uninstall too
Browse files Browse the repository at this point in the history
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:
    ./share/icons/hicolor/icon-theme.cache

See https://bugzilla.gnome.org/show_bug.cgi?id=695074
  • Loading branch information
vslavik committed Mar 4, 2021
1 parent 87ec4e7 commit 818cca5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion artwork/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@ dist_uiicons_DATA = \
StatusWarningBlack.png \
window-close.png

install-data-hook:
update-icon-cache:
which gtk-update-icon-cache >/dev/null && gtk-update-icon-cache -f -t $(DESTDIR)$(iconsdir) || true

install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache

0 comments on commit 818cca5

Please sign in to comment.