mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Allow environment variable ROS_INSTALL to set installation dir
svn path=/trunk/; revision=6454
This commit is contained in:
@@ -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%
|
||||
|
||||
+5
-3
@@ -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),)
|
||||
|
||||
Reference in New Issue
Block a user