From b7c11a5c2edb645470067000eb96a9d01fb7d3c9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 6 Jun 2016 14:33:34 +0800 Subject: [PATCH] sync --- pixmaps/Makefile.am | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pixmaps/Makefile.am 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 -- 2.39.2