Install.nt and nhsetup.bat updates.

This commit is contained in:
nethack.allison
2002-03-02 17:19:27 +00:00
parent 38e60fa8d1
commit b8d702085f
2 changed files with 224 additions and 149 deletions

View File

@@ -1,4 +1,4 @@
@REM SCCS Id: @(#)nhsetup.bat 2002/02/28
@REM SCCS Id: @(#)nhsetup.bat 2002/03/02
@REM Copyright (c) NetHack PC Development Team 1993, 1996, 2002
@REM NetHack may be freely redistributed. See license for details.
@REM Win32 setup batch file, see Install.nt for details
@@ -26,9 +26,14 @@ goto err_set
:do_tty
set opt=NetHack for NT Console
echo "Copying Makefile.NT to ..\..\src\Makefile"
copy makefile.NT ..\..\src\Makefile >nul
echo Makefile copied ok.
if NOT exist ..\..\binary\*.* mkdir ..\..\binary
if NOT exist ..\..\binary\license copy ..\..\dat\license ..\..\binary\license >nul
echo "Copying Makefile.nt to ..\..\src\Makefile"
copy Makefile.nt ..\..\src\Makefile >nul
echo Microsoft nmake Makefile copied ok.
echo "Copying Makefile.bcc to ..\..\src\Makefile.bcc"
copy Makefile.bcc ..\..\src\Makefile.bcc >nul
echo Borland make Makefile.bcc copied ok.
echo done!
echo.
echo Proceed with the next step documented in Install.nt
@@ -46,6 +51,8 @@ REM copy ..\..\win\win32\winnt.dsw ..\.. >nul
echo copy ..\..\win\win32\nethack.dsw ..\..
copy ..\..\win\win32\nethack.dsw ..\..
if NOT exist ..\..\binary\*.* mkdir ..\..\binary
if NOT exist ..\..\binary\license copy ..\..\dat\license ..\..\binary\license >nul
if NOT exist ..\..\build\*.* mkdir ..\..\build
copy ..\..\win\win32\dgncomp.dsp ..\..\build >nul
copy ..\..\win\win32\dgnstuff.dsp ..\..\build >nul
@@ -62,6 +69,10 @@ copy ..\..\win\win32\tiles.mak ..\..\build >nul
copy ..\..\win\win32\tilemap.dsp ..\..\build >nul
copy ..\..\win\win32\uudecode.dsp ..\..\build >nul
copy ..\..\win\win32\nethackw.dsp ..\..\build >nul
if NOT exist ..\..\src\Makefile.bcc goto dobor
copy ..\..\src\Makefile.bcc ..\..\src\Makefile.bcc-orig >nul
:dobor
copy Makefile.bcc ..\..\src\Makefile.bcc >nul
goto done
@@ -80,16 +91,15 @@ goto done
:err_dir
echo Your directories are not set up properly, please re-read the
echo documentation.
echo documentation and sys/winnt/Install.nt.
goto done
:err_set
echo.
echo Usage:
echo "%0 <TTY | win | CE >"
echo "%0 <tty | win>"
echo.
echo Run this batch file specifying one of the following:
echo tty, win, ce
echo Run this batch file specifying either "tty" or "win."
echo.
echo The tty argument is for preparing to build a console I/O TTY version
echo of NetHack.
@@ -97,9 +107,6 @@ echo.
echo The win argument is for preparing to build a graphical version
echo of NetHack.
echo.
echo The CE argument is for preparing to build a Windows CE version
echo of NetHack.
echo.
goto end
:done