diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-08-11 20:30:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-08-11 20:36:24 +0800 |
commit | 668eeb1ca0b13312a7f7f6a8dd992b49179488c5 (patch) | |
tree | 30171442e5c1e06bd5d9df86cb873c25e763d6a6 /data/icons | |
parent | 5265ceb2eddaa87d0d2b63661e94ce37e551dbae (diff) | |
download | gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar.gz gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar.bz2 gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar.lz gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar.xz gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.tar.zst gsoc2013-evolution-668eeb1ca0b13312a7f7f6a8dd992b49179488c5.zip |
Fix icon cache updating when building concurrently.
When using "make -j [N > 1]", the install-icons/uninstall-icons and
update-icon-cache make targets were running concurrently. Move the
icon cache updating to data/Makefile.am to ensure it runs AFTER the
icons are installed or uninstalled.
Diffstat (limited to 'data/icons')
-rw-r--r-- | data/icons/Makefile.am | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 45c03aa6de..ec9b0aa277 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -241,17 +241,6 @@ EXTRA_DIST = \ ############################################################################### -gtk_update_icon_cache = gtk-update-icon-cache -f -t - -update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ - echo "Updating Gtk icon cache."; \ - $(gtk_update_icon_cache) $(datadir)/icons/hicolor; \ - else \ - echo "*** Icon cache not updated. After (un)install, run this:"; \ - echo "*** $(gtk_update_icon_cache) $(datadir)/icons/hicolor"; \ - fi - install-icons: for icon in $(public_icons); do \ THEME=`echo $$icon | cut -d_ -f1`; \ @@ -301,8 +290,7 @@ uninstall-icons: rm -f $(DESTDIR)$(pkgdatadir)/$(BASE_VERSION)/icons/$$THEME/$$SIZE/$$CONTEXT/stock_$$ICONFILE; \ done -install-data-local: install-icons update-icon-cache - -uninstall-local: uninstall-icons update-icon-cache +install-data-local: install-icons +uninstall-local: uninstall-icons -include $(top_srcdir)/git.mk |