Highlight point on click
[gpx-viewer.git] / data / Makefile.am
blobc1b484e3ac7d5d27bd7984bbe00d02c6203083ba
1 SUBDIRS=icons
3 uidir= $(pkgdatadir)/
4 ui_DATA=\
5         gpx-viewer.ui\
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}\
15         ${desktop_in_files}
17 DISTCLEANFILES=\
18    ${desktop_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
25 update-icon-cache:
26         @-if test -z "$(DESTDIR)"; then \
27                 echo "Updating Gtk icon cache."; \
28                 $(gtk_update_icon_cache); \
29                 else \
30                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
31                 echo "***   $(gtk_update_icon_cache)"; \
32                 fi