foxygit / doom Log in
commit f4b37734234019c1f9b472f69baedb88abd79efd
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Sep 21 04:51:52 2013 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Sep 21 04:51:52 2013 +0000

    Rename gamesdir to execgamesdir so that the binaries are installed by
    install-exec rather than install-data (see "Two-Part Installation" in
    the automake manual).

    Subversion-branch: /branches/v2-branch
    Subversion-revision: 2675
---
 src/Makefile.am | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b75cad17..f6ad6e31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,22 +1,22 @@

 SUBDIRS = doom heretic hexen strife setup

-gamesdir = $(prefix)/games
+execgamesdir = $(prefix)/games

-games_PROGRAMS = @PROGRAM_PREFIX@doom     \
-                 @PROGRAM_PREFIX@heretic  \
-                 @PROGRAM_PREFIX@hexen    \
-                 @PROGRAM_PREFIX@strife   \
-                 @PROGRAM_PREFIX@server
+execgames_PROGRAMS = @PROGRAM_PREFIX@doom     \
+                     @PROGRAM_PREFIX@heretic  \
+                     @PROGRAM_PREFIX@hexen    \
+                     @PROGRAM_PREFIX@strife   \
+                     @PROGRAM_PREFIX@server

 noinst_PROGRAMS = @PROGRAM_PREFIX@setup

-SETUP_BINARIES = @PROGRAM_PREFIX@doom-setup$(EXEEXT) \
+SETUP_BINARIES = @PROGRAM_PREFIX@doom-setup$(EXEEXT)    \
                  @PROGRAM_PREFIX@heretic-setup$(EXEEXT) \
-                 @PROGRAM_PREFIX@hexen-setup$(EXEEXT) \
+                 @PROGRAM_PREFIX@hexen-setup$(EXEEXT)   \
                  @PROGRAM_PREFIX@strife-setup$(EXEEXT)

-games_DATA = $(SETUP_BINARIES)
+execgames_DATA = $(SETUP_BINARIES)

 AM_CFLAGS = -I$(top_builddir)/textscreen            \
             -I$(top_builddir)/opl                   \