summaryrefslogtreecommitdiff
path: root/setup/execute.c
diff options
context:
space:
mode:
authorSimon Howard2008-01-25 17:37:48 +0000
committerSimon Howard2008-01-25 17:37:48 +0000
commit092e2c4f3c63b7ada368a927a6eee1b4dc9fdaaa (patch)
tree1821b0c7ecf6fc37a81ca1cdc8a654fcb80e4132 /setup/execute.c
parent0103f6b6e6f64e1c3c6fb636e201f6da2136f4ac (diff)
downloadchocolate-doom-092e2c4f3c63b7ada368a927a6eee1b4dc9fdaaa.tar.gz
chocolate-doom-092e2c4f3c63b7ada368a927a6eee1b4dc9fdaaa.tar.bz2
chocolate-doom-092e2c4f3c63b7ada368a927a6eee1b4dc9fdaaa.zip
Rename some files to be package name independent.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1024
Diffstat (limited to 'setup/execute.c')
-rw-r--r--setup/execute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup/execute.c b/setup/execute.c
index 39fd5958..b5b8a7c6 100644
--- a/setup/execute.c
+++ b/setup/execute.c
@@ -37,14 +37,15 @@
#include "textscreen.h"
+#include "config.h"
#include "configfile.h"
#include "execute.h"
#include "m_argv.h"
#ifdef _WIN32
-#define DOOM_BINARY "chocolate-doom.exe"
+#define DOOM_BINARY PACKAGE_TARNAME ".exe"
#else
-#define DOOM_BINARY INSTALL_DIR "/chocolate-doom"
+#define DOOM_BINARY INSTALL_DIR "/" PACKAGE_TARNAME
#endif
#ifdef _WIN32