From: Alan Knowles Date: Mon, 6 Jun 2016 06:33:34 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=b7c11a5c2edb645470067000eb96a9d01fb7d3c9 sync --- diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am new file mode 100644 index 000000000..ce4cec6c8 --- /dev/null +++ b/pixmaps/Makefile.am @@ -0,0 +1,24 @@ + + + +iconsdir = $(datadir)/icons/hicolor + +nobase_dist_icons_DATA = \ + 16x16/apps/roobuilder.png \ + 22x22/apps/roobuilder.png \ + 24x24/apps/roobuilder.png \ + 32x32/apps/roobuilder.png \ + 48x48/apps/roobuilder.png + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir) + +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