mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
20 lines
564 B
Makefile
20 lines
564 B
Makefile
baseiconsdir = $(datadir)/gitg/icons/hicolor
|
|
scalableiconsdir = $(baseiconsdir)/scalable/actions
|
|
scalableicons_DATA = $(SCALABLE_ICONS)
|
|
|
|
gtk_update_icon_cache = $(GTK_UPDATE_ICON_CACHE) -f -t $(baseiconsdir)
|
|
|
|
install-data-hook: update-icon-cache
|
|
uninstall-hook: update-icon-cache
|
|
|
|
update-icon-cache:
|
|
@-if test -z "$(DESTDIR)"; then \
|
|
echo "Updating Gtk icon cache."; \
|
|
$(gtk_update_icon_cache); \
|
|
else \
|
|
echo "*** Icon cache not updated. After (un)install, run this:"; \
|
|
echo "*** $(gtk_update_icon_cache)"; \
|
|
fi
|
|
|
|
EXTRA_DIST += $(scalableicons_DATA)
|