ref: 75ddea9c27110a1ea7e96b4dc9776dc0998d267b
parent: d07b88e469abbb7c82d10fbe17473d529aaa4388
author: Simon Howard <[email protected]>
date: Sat May 14 17:47:12 EDT 2011
Fix install of screensaver desktop file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2338
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -181,18 +181,18 @@
@SDLMIXER_LIBS@ \
@SDLNET_LIBS@
-EXTRA_DIST = \
- icon.c \
- doom-screensaver.desktop.in
+EXTRA_DIST = icon.c
appdir = $(prefix)/share/applications
-app_DATA = @[email protected] \
- @[email protected]
+app_DATA = @[email protected]
-@[email protected]: doom-screensaver.desktop
+@[email protected] : doom.desktop
cp $^ $@
-@[email protected] : doom.desktop
+screensaverdir = $(prefix)/share/applications/screensavers
+screensaver_DATA = @[email protected]
+
+@[email protected]: doom-screensaver.desktop
cp $^ $@
.rc.o:
--- a/src/doom-screensaver.desktop.in
+++ b/src/doom-screensaver.desktop.in
@@ -3,8 +3,8 @@
Encoding=UTF-8
Name=@PACKAGE_NAME@
Comment=@PACKAGE_SHORTDESC@
-TryExec=@PACKAGE_PREFIX@doom
-Exec=@PACKAGE_PREFIX@doom
+TryExec=@PROGRAM_PREFIX@doom
+Exec=@PROGRAM_PREFIX@doom
StartupNotify=false
Terminal=false
Type=Application