6 gpx-viewer-file-chooser.ui
8 desktopdir = $(datadir)/applications
9 desktop_in_files = gpxviewer.desktop.in
10 desktop_DATA=$(desktop_in_files:.desktop.in=.desktop)
11 @INTLTOOL_DESKTOP_RULE@
14 EXTRA_DIST=${ui_DATA}\
21 # Updating the icon cache
22 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor
23 install-data-hook: update-icon-cache
24 uninstall-hook: update-icon-cache
26 @-if test -z "$(DESTDIR)"; then \
27 echo "Updating Gtk icon cache."; \
28 $(gtk_update_icon_cache); \
30 echo "*** Icon cache not updated. After (un)install, run this:"; \
31 echo "*** $(gtk_update_icon_cache)"; \