shithub: choc

Download patch

ref: f4b37734234019c1f9b472f69baedb88abd79efd
parent: 0e7f83f0cc685fa521f74f9f470ba1ae3c4eb36b
author: Simon Howard <[email protected]>
date: Sat Sep 21 00:51:52 EDT 2013

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

--- 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                   \