Fossil SCM

Correct directory detection in the MSVC makefile to permit the batch building tool to function properly.

mistachkin 2014-09-29 19:59 trunk
Commit a072137b03e3dc1c78f912b998a9cd9ba1667942
2 files changed +3 -4 +3 -4
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1146,15 +1146,14 @@
11461146
writeln {#
11471147
##############################################################################
11481148
# WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
11491149
##############################################################################
11501150
#
1151
-# This Makefile will only function correctly if used from the directory it
1152
-# is contained in. Therefore, attempt to detect when that is not the case
1153
-# and issue an error message.
1151
+# This Makefile will only function correctly if used from a sub-directory
1152
+# that is a direct child of the top-level directory for this project.
11541153
#
1155
-!if !exist("Makefile.msc")
1154
+!if !exist("..\.fossil-settings")
11561155
!error "Please change the current directory to the one containing this file."
11571156
!endif
11581157
11591158
#
11601159
# This file is automatically generated. Instead of editing this
11611160
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1146,15 +1146,14 @@
1146 writeln {#
1147 ##############################################################################
1148 # WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
1149 ##############################################################################
1150 #
1151 # This Makefile will only function correctly if used from the directory it
1152 # is contained in. Therefore, attempt to detect when that is not the case
1153 # and issue an error message.
1154 #
1155 !if !exist("Makefile.msc")
1156 !error "Please change the current directory to the one containing this file."
1157 !endif
1158
1159 #
1160 # This file is automatically generated. Instead of editing this
1161
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1146,15 +1146,14 @@
1146 writeln {#
1147 ##############################################################################
1148 # WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
1149 ##############################################################################
1150 #
1151 # This Makefile will only function correctly if used from a sub-directory
1152 # that is a direct child of the top-level directory for this project.
 
1153 #
1154 !if !exist("..\.fossil-settings")
1155 !error "Please change the current directory to the one containing this file."
1156 !endif
1157
1158 #
1159 # This file is automatically generated. Instead of editing this
1160
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1,15 +1,14 @@
11
#
22
##############################################################################
33
# WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
44
##############################################################################
55
#
6
-# This Makefile will only function correctly if used from the directory it
7
-# is contained in. Therefore, attempt to detect when that is not the case
8
-# and issue an error message.
6
+# This Makefile will only function correctly if used from a sub-directory
7
+# that is a direct child of the top-level directory for this project.
98
#
10
-!if !exist("Makefile.msc")
9
+!if !exist("..\.fossil-settings")
1110
!error "Please change the current directory to the one containing this file."
1211
!endif
1312
1413
#
1514
# This file is automatically generated. Instead of editing this
1615
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1,15 +1,14 @@
1 #
2 ##############################################################################
3 # WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
4 ##############################################################################
5 #
6 # This Makefile will only function correctly if used from the directory it
7 # is contained in. Therefore, attempt to detect when that is not the case
8 # and issue an error message.
9 #
10 !if !exist("Makefile.msc")
11 !error "Please change the current directory to the one containing this file."
12 !endif
13
14 #
15 # This file is automatically generated. Instead of editing this
16
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1,15 +1,14 @@
1 #
2 ##############################################################################
3 # WARNING: DO NOT EDIT, AUTOMATICALLY GENERATED FILE (SEE "src/makemake.tcl")
4 ##############################################################################
5 #
6 # This Makefile will only function correctly if used from a sub-directory
7 # that is a direct child of the top-level directory for this project.
 
8 #
9 !if !exist("..\.fossil-settings")
10 !error "Please change the current directory to the one containing this file."
11 !endif
12
13 #
14 # This file is automatically generated. Instead of editing this
15

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button