summaryrefslogtreecommitdiff
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
commit670f191c43315e1f51565d543d095a91347f2065 (patch)
tree901dc6a648d96b0a9913b12c20b010c5d7fada5c
parent67af9da593e1a1f2242fc60bdf4a9ddbb2ac3262 (diff)
downloadopenttd-670f191c43315e1f51565d543d095a91347f2065.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
-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)