gitg/icons.mk

20 lines
564 B
Makefile
Raw Normal View History

baseiconsdir = $(datadir)/gitg/icons/hicolor
scalableiconsdir = $(baseiconsdir)/scalable/actions
scalableicons_DATA = $(SCALABLE_ICONS)
2012-07-17 07:55:09 +00:00
gtk_update_icon_cache = $(GTK_UPDATE_ICON_CACHE) -f -t $(baseiconsdir)
2012-07-17 07:55:09 +00:00
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)