mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(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
This commit is contained in:
parent
67af9da593
commit
670f191c43
7
Makefile
7
Makefile
@ -994,8 +994,10 @@ endif
|
|||||||
$(BINARY_DIR_INSTALL)
|
$(BINARY_DIR_INSTALL)
|
||||||
ifndef USE_HOMEDIR
|
ifndef USE_HOMEDIR
|
||||||
mkdir -p $(PERSONAL_DIR)/scenario
|
mkdir -p $(PERSONAL_DIR)/scenario
|
||||||
|
mkdir -p $(PERSONAL_DIR)/scenario/heightmap
|
||||||
else
|
else
|
||||||
mkdir -p $(DATA_DIR_INSTALL)/scenario
|
mkdir -p $(DATA_DIR_INSTALL)/scenario
|
||||||
|
mkdir -p $(DATA_DIR_INSTALL)/scenario/heightmap
|
||||||
endif
|
endif
|
||||||
install $(TTD) $(BINARY_DIR_INSTALL)
|
install $(TTD) $(BINARY_DIR_INSTALL)
|
||||||
install -m 644 lang/*.lng $(DATA_DIR_INSTALL)/lang
|
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 data/opntitle.dat $(DATA_DIR_INSTALL)/data
|
||||||
install -m 644 media/openttd.64.png $(ICON_DIR_INSTALL)
|
install -m 644 media/openttd.64.png $(ICON_DIR_INSTALL)
|
||||||
install -m 644 media/openttd.32.xpm $(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
|
else #MorphOS
|
||||||
install:
|
install:
|
||||||
$(error make install is not supported on MorphOS)
|
$(error make install is not supported on MorphOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user