Refactor support for VDB customization scripts
Upon strartup, VDB now loads `~/.vdbinit.st`. If that file does not
exist, it loads default `vdbinit.st`. This default file also serves
as an example and documentation for available settings.
@REM -------
@REM make using Microsoft Visual C compiler
@REM type vcmake, and wait...
@REM do not edit - automatically generated from ProjectDefinition
@REM -------
@if not defined VSINSTALLDIR (
pushd ..\..\..\stx\rules
call vcsetup.bat
popd
)
@SET DEFINES=
@REM Kludge got Mercurial, cannot be implemented in Borland make
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
make.exe -N -f bc.mak -DUSEVC=1 %DEFINES% %*
@IF "%1" EQU "exe" exit /b 0
@IF "%1" EQU "setup" exit /b 0
@IF "%1" EQU "pluginSetup" exit /b 0