SUBDIRS = hicolor

themes = hicolor
themedir = ${datadir}/icons
gtk_update_icon_cache = gtk-update-icon-cache -f -t

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

update-icon-cache:
	@-if test -z "$(DESTDIR)"; then \
	        echo "Updating Gtk icon cache."; \
	        for theme in $(themes); do \
	                $(gtk_update_icon_cache) $(themedir)/$$theme; \
	        done; \
	else \
	        echo "*** Icon cache not updated.  After install, run this:"; \
	        echo "***   $(gtk_update_icon_cache)"; \
	fi

anjuta_pixmapsdir = $(anjuta_image_dir)

dist_anjuta_pixmaps_DATA = \
	madeinanjuta.xcf \
	anjuta_logo.png \
	anjuta_splash.png \
	directory.png \
	directory-accept.png \
	password.png \
	start-with-import.png 

anjuta_glade_pixmapsdir = $(anjuta_glade_dir)
dist_anjuta_glade_pixmaps_DATA = \
	start-with-wizard.png \
	start-with-import.png \
	start-with-open.png


-include $(top_srcdir)/git.mk
