mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Allow environment variable ROS_INSTALL to set installation dir
svn path=/trunk/; revision=6454
This commit is contained in:
parent
fd5226dd32
commit
ce50eff0b5
2 changed files with 8 additions and 3 deletions
|
@ -3,6 +3,9 @@ if "%1" == "" goto NoParameter
|
|||
set ROS_INSTALL=%1
|
||||
goto Install
|
||||
:NoParameter
|
||||
if "%ROS_INSTALL%" == "" goto UseDefault
|
||||
goto Install
|
||||
:UseDefault
|
||||
set ROS_INSTALL=c:\reactos
|
||||
:Install
|
||||
echo Installing to %ROS_INSTALL%
|
||||
|
|
|
@ -57,10 +57,12 @@ PIPE := -pipe
|
|||
endif
|
||||
|
||||
|
||||
# Set INSTALL_DIR to default value if not already set
|
||||
# ifeq ($(INSTALL_DIR),)
|
||||
# Use environment var ROS_INSTALL to override default install dir
|
||||
ifeq ($(ROS_INSTALL),)
|
||||
INSTALL_DIR = $(PATH_TO_TOP)/reactos
|
||||
# endif
|
||||
else
|
||||
INSTALL_DIR = $(ROS_INSTALL)
|
||||
endif
|
||||
|
||||
# Set DIST_DIR to default value if not already set
|
||||
# ifeq ($(DIST_DIR),)
|
||||
|
|
Loading…
Reference in a new issue