shithub: choc

Download patch

ref: 59b322bd845d8ba6bf0eae7c04d28a8239bcb0bc
parent: 4ff554629fd0189a2d757d888ebe2669589e9352
parent: 7b95fbbff4196c7e05249af6e92ac7ae9de0c5df
author: Simon Howard <fraggle+github@gmail.com>
date: Fri Apr 29 07:08:00 EDT 2016

Merge pull request #635 from chungy/automake_bindir

automake: install binaries to ${bindir} not ${exec_prefix}/games

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS = doom heretic hexen strife setup
 
-execgamesdir = ${exec_prefix}/games
+execgamesdir = ${bindir}
 
 execgames_PROGRAMS = @PROGRAM_PREFIX@doom     \
                      @PROGRAM_PREFIX@heretic  \
--- a/src/setup/Makefile.am
+++ b/src/setup/Makefile.am
@@ -1,6 +1,4 @@
 
-gamesdir = $(prefix)/games
-
 AM_CFLAGS = @SDL_CFLAGS@                                           \
             @SDLMIXER_CFLAGS@                                      \
             -I$(top_srcdir)/textscreen -I$(top_srcdir)/src