From b43eaf9a9521a55c6cbbedb62147c2daaaf6e32d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Jan 2008 02:23:58 +0000 Subject: Install icon to standard (themeable) location. git-svn-id: http://svn.drobilla.net/lad/patchage@1013 a436a847-0d15-0410-975c-d299462d15a1 --- icons/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 icons/Makefile.am (limited to 'icons/Makefile.am') diff --git a/icons/Makefile.am b/icons/Makefile.am new file mode 100644 index 0000000..79835fc --- /dev/null +++ b/icons/Makefile.am @@ -0,0 +1,14 @@ +SUBDIRS = 16x16 22x22 24x24 32x32 48x48 + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/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.1