summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-24 22:04:24 +0000
committerrubidium <rubidium@openttd.org>2006-08-24 22:04:24 +0000
commit1bc3eb117b10c87a4f254ae46f5a9b8c71a387e5 (patch)
tree901dc6a648d96b0a9913b12c20b010c5d7fada5c /Makefile
parentbd1a44d01173b167c341cda867058f022e1ed9f3 (diff)
downloadopenttd-1bc3eb117b10c87a4f254ae46f5a9b8c71a387e5.tar.xz
(svn r6104) -Fix: make install did not create a directory for the heightmaps
-Fix: make install should not copy scenario as it is an empty map
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9d73e5a09..6649a8fe7 100644
--- a/Makefile
+++ b/Makefile
@@ -994,8 +994,10 @@ endif
$(BINARY_DIR_INSTALL)
ifndef USE_HOMEDIR
mkdir -p $(PERSONAL_DIR)/scenario
+ mkdir -p $(PERSONAL_DIR)/scenario/heightmap
else
mkdir -p $(DATA_DIR_INSTALL)/scenario
+ mkdir -p $(DATA_DIR_INSTALL)/scenario/heightmap
endif
install $(TTD) $(BINARY_DIR_INSTALL)
install -m 644 lang/*.lng $(DATA_DIR_INSTALL)/lang
@@ -1003,11 +1005,6 @@ endif
install -m 644 data/opntitle.dat $(DATA_DIR_INSTALL)/data
install -m 644 media/openttd.64.png $(ICON_DIR_INSTALL)
install -m 644 media/openttd.32.xpm $(ICON_DIR_INSTALL)
-ifndef USE_HOMEDIR
- cp scenario/* $(PERSONAL_DIR)/scenario/
-else
- cp scenario/* $(DATA_DIR_INSTALL)/scenario/
-endif
else #MorphOS
install:
$(error make install is not supported on MorphOS)