Add changelog entry
[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 icondir = $(datadir)/icons/hicolor/48x48/apps
10 icon_DATA = sm.png
11
12 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
13
14 install-data-hook: update-icon-cache
15 uninstall-hook: update-icon-cache
16 update-icon-cache:
17         @-if test -z "$(DESTDIR)"; then \
18                 echo "Updating Gtk icon cache."; \
19                 $(gtk_update_icon_cache); \
20         else \
21                 echo "*** Icon cache not updated.  After (un)install, run this:"; \
22                 echo "***   $(gtk_update_icon_cache)"; \
23         fi
24
25
26 man_MANS = sm.6
27 EXTRA_DIST = sm.6 sm.py sm.png