2012-10-17 22:18:54 +02:00
|
|
|
SUBDIRS = 16x16 24x24 32x32 48x48 scalable tango
|
2007-07-20 16:33:16 +00:00
|
|
|
|
2013-01-15 22:28:00 +01:00
|
|
|
# only install index.theme on Windows
|
|
|
|
if MINGW
|
2013-01-14 19:20:01 +01:00
|
|
|
iconsdir = $(datadir)/icons/hicolor
|
|
|
|
dist_icons_DATA = index.theme
|
2013-01-15 22:28:00 +01:00
|
|
|
endif
|
|
|
|
|
2013-01-14 19:20:01 +01:00
|
|
|
dist_noinst_DATA = geany.ico
|
2010-01-31 14:18:08 +00:00
|
|
|
|
2012-10-17 22:18:54 +02:00
|
|
|
gtk_update_icon_cache = gtk-update-icon-cache -f -t
|
2007-07-20 16:33:16 +00:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
@-if test -z "$(DESTDIR)"; then \
|
|
|
|
echo "Updating Gtk icon cache."; \
|
2012-10-17 22:18:54 +02:00
|
|
|
$(gtk_update_icon_cache) "$(datadir)/icons/hicolor"; \
|
|
|
|
$(gtk_update_icon_cache) "$(datadir)/icons/Tango"; \
|
2007-07-20 16:33:16 +00:00
|
|
|
else \
|
|
|
|
echo "*** Icon cache not updated. Remember to run:"; \
|
|
|
|
echo "***"; \
|
2012-10-17 22:18:54 +02:00
|
|
|
echo "*** $(gtk_update_icon_cache) '$(datadir)/icons/hicolor'";\
|
|
|
|
echo "*** $(gtk_update_icon_cache) '$(datadir)/icons/Tango'";\
|
2007-07-20 16:33:16 +00:00
|
|
|
echo "***"; \
|
|
|
|
fi
|
|
|
|
|
2007-07-24 09:24:14 +00:00
|
|
|
uninstall-local:
|
2012-10-17 22:18:54 +02:00
|
|
|
rm -f $(DESTDIR)$(datadir)/icons/hicolor/icon-theme.cache
|
|
|
|
rm -f $(DESTDIR)$(datadir)/icons/Tango/icon-theme.cache
|
2007-07-24 09:24:14 +00:00
|
|
|
|