Minor Makefile.am improvement
[darcs-mirror-screen-message.debian.git] / Makefile.am
index c13b762..ff2c2da 100644 (file)
@@ -1,11 +1,16 @@
 
-bin_PROGRAMS = sm
 sm_SOURCES = sm.c
 sm_CFLAGS = $(DEPS_CFLAGS)
 sm_LDADD = $(DEPS_LIBS)
 
+execgamesdir= $(prefix)/games
+execgames_PROGRAMS=sm
+
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = sm.desktop
+
 icondir = $(datadir)/icons/hicolor/48x48/apps
-icon_DATA = sm.png
+dist_icon_DATA = sm.png
 
 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
@@ -21,5 +26,5 @@ update-icon-cache:
        fi
 
 
-man_MANS = sm.1
-EXTRA_DIST = sm.1 sm.py sm.png
+dist_man_MANS = sm.6
+EXTRA_DIST = sm.py