From f45883312746b395935a3756fe04abe1459a8dd8 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 24 Nov 2008 22:32:57 -0600 Subject: Adding in the infrastructure to have icons in the build. Only a dummy icon for now, but it's there and ready for some friends. --- data/icons/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 data/icons/Makefile.am (limited to 'data/icons/Makefile.am') diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 0000000..17dca13 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,15 @@ +SUBDIRS = scalable 16x16 22x22 24x24 32x32 48x48 + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(pkgdatadir)/icons/hicolor + +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 + -- cgit v1.2.3