From efd4161864f92ba6c52bd5fdc76c235a997cc31f Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Mon, 9 Nov 2009 00:36:09 +0100 Subject: Default bin_prefix to . (the install root) on DOS and Windows. --- crawl-ref/source/makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-54-g00ecf