mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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
|
set ROS_INSTALL=%1
|
||||||
goto Install
|
goto Install
|
||||||
:NoParameter
|
:NoParameter
|
||||||
|
if "%ROS_INSTALL%" == "" goto UseDefault
|
||||||
|
goto Install
|
||||||
|
:UseDefault
|
||||||
set ROS_INSTALL=c:\reactos
|
set ROS_INSTALL=c:\reactos
|
||||||
:Install
|
:Install
|
||||||
echo Installing to %ROS_INSTALL%
|
echo Installing to %ROS_INSTALL%
|
||||||
|
|
|
@ -57,10 +57,12 @@ PIPE := -pipe
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Set INSTALL_DIR to default value if not already set
|
# Use environment var ROS_INSTALL to override default install dir
|
||||||
# ifeq ($(INSTALL_DIR),)
|
ifeq ($(ROS_INSTALL),)
|
||||||
INSTALL_DIR = $(PATH_TO_TOP)/reactos
|
INSTALL_DIR = $(PATH_TO_TOP)/reactos
|
||||||
# endif
|
else
|
||||||
|
INSTALL_DIR = $(ROS_INSTALL)
|
||||||
|
endif
|
||||||
|
|
||||||
# Set DIST_DIR to default value if not already set
|
# Set DIST_DIR to default value if not already set
|
||||||
# ifeq ($(DIST_DIR),)
|
# ifeq ($(DIST_DIR),)
|
||||||
|
|
Loading…
Reference in a new issue