Changeset - r8802:3a3f8a172f6c
[Not reviewed]
master
0 1 0
matthijs - 17 years ago 2008-04-02 16:20:30
matthijs@openttd.org
(svn r12542) -Fix [Makefile]: Don't install scenarios into the current user's homedir when running 'make install', that is silly. Simply always install scenarios system wide instead.
1 file changed with 0 insertions and 6 deletions:
0 comments (0 inline, 0 general)
Makefile.in
Show inline comments
 
@@ -22,7 +22,6 @@ INSTALL_DIR = !!INSTALL_DIR!!
 
INSTALL_BINARY_DIR = "$(INSTALL_DIR)/"!!BINARY_DIR!!
 
INSTALL_ICON_DIR = "$(INSTALL_DIR)/"!!ICON_DIR!!
 
INSTALL_DATA_DIR = "$(INSTALL_DIR)/"!!DATA_DIR!!
 
INSTALL_PERSONAL_DIR = !!PERSONAL_DIR!!
 
TTD = !!TTD!!
 
TTDS = $(SRC_DIRS:%=%/$(TTD))
 
OS = !!OS!!
 
@@ -271,10 +270,5 @@ install: bundle
 
	$(Q)install -m 644 "$(BUNDLE_DIR)/data/"* "$(INSTALL_DATA_DIR)/data"
 
	$(Q)install -m 644 "$(BUNDLE_DIR)/docs/"* "$(INSTALL_DATA_DIR)/docs"
 
	$(Q)install -m 644 "$(BUNDLE_DIR)/media/"* "$(INSTALL_ICON_DIR)"
 
ifdef INSTALL_PERSONAL_DIR
 
	$(Q)mkdir -p ~/"$(INSTALL_PERSONAL_DIR)"
 
	$(Q)cp -R "$(BUNDLE_DIR)/scenario" ~/"$(INSTALL_PERSONAL_DIR)"
 
else
 
	$(Q)cp -R "$(BUNDLE_DIR)/scenario" "$(INSTALL_DATA_DIR)"
 
endif # INSTALL_PERSONAL_DIR
 
endif # OSXAPP
0 comments (0 inline, 0 general)