mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-31 03:48:10 +00:00
21 lines
536 B
Makefile
21 lines
536 B
Makefile
|
baseicondir = $(datadir)/gitg/icons/hicolor
|
||
|
svgicondir = $(baseicondir)/scalable/actions
|
||
|
svgicon_DATA = $(ICONS)
|
||
|
|
||
|
gtk_update_icon_cache = $(GTK_UPDATE_ICON_CACHE) -f -t $(baseicondir)
|
||
|
|
||
|
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 = \
|
||
|
$(svgicon_DATA)
|