summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-09 00:36:09 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-09 13:38:40 +0100
commitefd4161864f92ba6c52bd5fdc76c235a997cc31f (patch)
tree5e7df4d07d6daac853bb398f5d76fd12af72ed62 /crawl-ref/source/makefile
parentc17d31986110aae4138ae9671f2715a3cfcd583a (diff)
downloadcrawl-ref-efd4161864f92ba6c52bd5fdc76c235a997cc31f.tar.gz
crawl-ref-efd4161864f92ba6c52bd5fdc76c235a997cc31f.zip
Default bin_prefix to . (the install root) on DOS and Windows.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index cb890951c6..0b662b234a 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -96,6 +96,7 @@ ifdef CROSSHOST
endif
ifneq (,$(findstring MINGW,$(uname_S)))
GAME = crawl.exe
+ bin_prefix = .
WIN32 = Yes
NO_RDYNAMIC = YesPlease
NO_NCURSES = YesPlease
@@ -112,6 +113,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
endif
ifeq ($(uname_S),DOS)
GAME = crawl.exe
+ bin_prefix = .
NO_NCURSES = yes
NO_UNICODE = yes
NEED_LIBDOS = yes
@@ -197,7 +199,9 @@ INSTALL_UGRP := games:games
chroot_prefix :=
prefix := /usr/games/crawl
+ifeq (,$(bin_prefix))
bin_prefix := bin
+endif
# If you're installing Crawl for multiple users, you *must* set this to a
# valid path before building Crawl. This is not necessary if you are building