summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2013-09-21 04:34:42 +0000
committerSimon Howard2013-09-21 04:34:42 +0000
commit9330b5da4b43dba0fa659f6a698170e90814b86e (patch)
treeb63fcb7265527a8bdc96a85e15d9ad19cba9c0c7 /src
parent26446dde302568de04185498bddf1caa9f2c5984 (diff)
downloadchocolate-doom-9330b5da4b43dba0fa659f6a698170e90814b86e.tar.gz
chocolate-doom-9330b5da4b43dba0fa659f6a698170e90814b86e.tar.bz2
chocolate-doom-9330b5da4b43dba0fa659f6a698170e90814b86e.zip
Install multiple copies of the setup binary, one for each game.
Subversion-branch: /branches/v2-branch Subversion-revision: 2671
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e6754a6b..b75cad17 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS=doom heretic hexen strife setup
+SUBDIRS = doom heretic hexen strife setup
gamesdir = $(prefix)/games
@@ -7,8 +7,16 @@ games_PROGRAMS = @PROGRAM_PREFIX@doom \
@PROGRAM_PREFIX@heretic \
@PROGRAM_PREFIX@hexen \
@PROGRAM_PREFIX@strife \
- @PROGRAM_PREFIX@server \
- @PROGRAM_PREFIX@setup
+ @PROGRAM_PREFIX@server
+
+noinst_PROGRAMS = @PROGRAM_PREFIX@setup
+
+SETUP_BINARIES = @PROGRAM_PREFIX@doom-setup$(EXEEXT) \
+ @PROGRAM_PREFIX@heretic-setup$(EXEEXT) \
+ @PROGRAM_PREFIX@hexen-setup$(EXEEXT) \
+ @PROGRAM_PREFIX@strife-setup$(EXEEXT)
+
+games_DATA = $(SETUP_BINARIES)
AM_CFLAGS = -I$(top_builddir)/textscreen \
-I$(top_builddir)/opl \
@@ -176,6 +184,9 @@ endif
@PROGRAM_PREFIX@strife_LDADD = strife/libstrife.a $(EXTRA_LIBS)
+$(SETUP_BINARIES): @PROGRAM_PREFIX@setup$(EXEEXT)
+ cp $< $@
+
# Source files needed for chocolate-setup:
SETUP_FILES= \