install-icons: @echo "Installing application icons..." for icon in $(icons); do \ SIZE=`echo $$icon | cut -d- -f3 | cut -d. -f1`; \ EXTENSION=`echo $$icon | cut -d. -f2`; \ if test "$$SIZE" = "scalable"; then \ SIZE="scalable"; \ else \ SIZE="$${SIZE}x$${SIZE}"; \ fi; \ mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/apps; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/apps/last-exit.$$EXTENSION; \ done @-if test -z "$(DESTDIR)"; then \ echo "Updating GTK icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi