summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-09 14:29:16 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-09 14:48:20 +0100
commit8b0bdcb6271b2ccad9cec8b4cf8b4a464946ed06 (patch)
tree6bec785ec73dd56498fc1065b1c3ec04e88ebc91 /crawl-ref/source/makefile
parent2b0a18297ef83cb5482e9c90361fccbb0c0d0352 (diff)
downloadcrawl-ref-8b0bdcb6271b2ccad9cec8b4cf8b4a464946ed06.tar.gz
crawl-ref-8b0bdcb6271b2ccad9cec8b4cf8b4a464946ed06.zip
Don't use /usr/local/games, only /usr/games and /usr/local/bin are in normal $PATH.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 4532238cfd..6bd382df00 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -235,7 +235,7 @@ FHS := yes
endif
ifeq (,$(bin_prefix))
-ifeq (,$(FHS))
+ifneq (%,$(patsubst %/,%,$(prefix)),/usr)
bin_prefix := bin
else
bin_prefix := games