Bump version number
[darcs-mirror-screen-message.debian.git] / Makefile.am
1
2 sm_SOURCES = sm.c
3 sm_CFLAGS = $(DEPS_CFLAGS)
4 sm_LDADD = $(DEPS_LIBS)
5
6 execgamesdir= $(prefix)/games
7 execgames_PROGRAMS=sm
8
9 desktopdir = $(datadir)/applications
10 dist_desktop_DATA = sm.desktop
11
12 icondir = $(datadir)/icons/hicolor/48x48/apps
13 dist_icon_DATA = sm.png
14
15 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
16
17 install-data-hook: update-icon-cache
18 uninstall-hook: update-icon-cache
19 update-icon-cache:
20         @-if test -z "$(DESTDIR)"; then \
21                 echo "Updating Gtk icon cache."; \
22                 $(gtk_update_icon_cache); \
23         else \
24                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
25                 echo "***   $(gtk_update_icon_cache)"; \
26         fi
27
28
29 dist_man_MANS = sm.6
30 EXTRA_DIST = sm.py