]> granicus.if.org Git - nethack/commitdiff
win32 and msdos recover
authornethack.allison <nethack.allison>
Tue, 18 Feb 2003 00:21:19 +0000 (00:21 +0000)
committernethack.allison <nethack.allison>
Tue, 18 Feb 2003 00:21:19 +0000 (00:21 +0000)
Since the ports have SELF_RECOVER defined,
remove the build of recover.exe from the default steps.
You must explicitly use 'make recover' now.

win/win32/nethack.dsw
win/win32/nethackw.dsp
win/win32/recover.dsp

index b307e972988befa0aa4d6f37846f364e9555467e..16c80c38722799b6ba72da96c120a69e609835ac 100644 (file)
@@ -3,6 +3,39 @@ Microsoft Developer Studio Workspace File, Format Version 6.00
 
 ###############################################################################
 
+Project: "NetHackW"=.\build\NetHackW.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+    Begin Project Dependency
+    Project_Dep_Name dgncomp
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name dlb_main
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name levcomp
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name makedefs
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name tilemap
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name tiles
+    End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name uudecode
+    End Project Dependency
+}}}
+
+###############################################################################
+
 Project: "dgncomp"=.\build\dgncomp.dsp - Package Owner=<4>
 
 Package=<5>
@@ -96,42 +129,6 @@ Package=<4>
 
 ###############################################################################
 
-Project: "NetHackW"=.\build\NetHackW.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-    Begin Project Dependency
-    Project_Dep_Name dgncomp
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name dlb_main
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name levcomp
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name makedefs
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name recover
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name tilemap
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name tiles
-    End Project Dependency
-    Begin Project Dependency
-    Project_Dep_Name uudecode
-    End Project Dependency
-}}}
-
-###############################################################################
-
 Project: "recover"=.\build\recover.dsp - Package Owner=<4>
 
 Package=<5>
index 980e26381269fbe79e344821c28cff286d5b3d31..43d178edb54e45db8414d88f288ac4c5d1ada2b8 100644 (file)
@@ -66,7 +66,6 @@ copy ..\dat\license ..\binary \
 if exist tiles.bmp copy tiles.bmp ..\binary    \
 if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt        \
 if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt      \
-if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt      \
 copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
 # End Special Build Tool
 
@@ -107,7 +106,6 @@ copy ..\dat\license ..\binary       \
 if exist tiles.bmp copy tiles.bmp ..\binary    \
 if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt        \
 if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt      \
-if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt      \
 copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh
 # End Special Build Tool
 
index 48b1a0cbc2922c4eae58979842a6960848e05dfe..a41122caa118205c50ac44bd55459d02a9ae539f 100644 (file)
@@ -54,7 +54,8 @@ LINK32=link.exe
 # Begin Special Build Tool
 OutDir=.\Release
 SOURCE="$(InputPath)"
-PostBuild_Cmds=copy $(OutDir)\recover.exe ..\binary
+PostBuild_Cmds=copy $(OutDir)\recover.exe ..\binary    \
+if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
 # End Special Build Tool
 
 !ELSEIF  "$(CFG)" == "recover - Win32 Debug"
@@ -85,7 +86,8 @@ LINK32=link.exe
 OutDir=.\Debug
 SOURCE="$(InputPath)"
 PostBuild_Desc=install exe
-PostBuild_Cmds=copy $(OutDir)\recover.exe ..\binary
+PostBuild_Cmds=copy $(OutDir)\recover.exe ..\binary    \
+if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt
 # End Special Build Tool
 
 !ENDIF