Fossil SCM

makefile.wiki changes. Small rewrite of final paragraph.

brickviking 2024-10-20 11:35 bv-corrections01
Commit 03313e9c965b684dbf2fa6742e56d391470e439545f2208b2cd4aba49e411dfa
1 file changed +10 -9
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -7,11 +7,11 @@
77
before it is compiled. Most users will download a
88
[https://fossil-scm.org/home/uv/download.html | precompiled binary]
99
so this is of no consequence to them, and even those who
1010
want to compile the code themselves can use one of the
1111
[./build.wiki | existing makefiles].
12
-So must people do not need to be concerned with the
12
+So most people do not need to be concerned with the
1313
build complexities of Fossil. But hard-core developers who desire
1414
a deep understanding of how Fossil is put together can benefit
1515
from reviewing this article.
1616
1717
<h1 id="srctour">2.0 Source Code Tour</h1>
@@ -56,21 +56,21 @@
5656
The TH1 script engine is implemented using files:
5757
5858
9. th.c
5959
10. th.h
6060
61
-The proprocessing steps are omitted for all of these imported
61
+The preprocessing steps are omitted for all of these imported
6262
files.
6363
6464
The VERSION.h header file is generated from other information sources
6565
using a small program called:
6666
6767
11. [/file/tools/mkversion.c | mkversion.c]
6868
6969
The builtin_data.h header file contains the definitions of C-language
7070
byte-array constants that contain various resources such as scripts and
71
-images. The builtin_data.h header file is generate from the original
71
+images. The builtin_data.h header file is generated from the original
7272
resource files using a small program called:
7373
7474
12 [/file/tools/mkbuiltin.c | mkbuiltin.c]
7575
7676
Examples of built-in resources include the [/file/src/diff.tcl | diff.tcl]
@@ -132,11 +132,11 @@
132132
the exceptions described above.
133133
134134
<h1>3.0 Automatically generated files</h1>
135135
136136
The "VERSION.h" header file contains some C preprocessor macros that
137
-identify the version of Fossil that is to be build. The VERSION.h file is
137
+identify the version of Fossil that is to be built. The VERSION.h file is
138138
generated automatically from information extracted from the "manifest",
139139
"manifest.uuid", and "VERSION" source files in the root directory of the
140140
source tree.
141141
(The "manifest" and "manifest.uuid" files are automatically generated and
142142
updated by Fossil itself. See the [/help/setting | fossil set manifest]
@@ -294,12 +294,12 @@
294294
link against the standard C library. No other libraries or external
295295
dependences are used.
296296
297297
<h1>7.0 Debugging</h1>
298298
299
-Debug mode is controlled via FOSSIL_DEBUG preprocessor macro which could be
300
-set explicitly at the make command for the target platform.
299
+Debug mode is controlled via a FOSSIL_DEBUG preprocessor macro. This can be
300
+set explicitly with the make command for the target platform.
301301
302302
However, in practice it is instead recommended to add a respective configure
303303
option for the target platform and then perform a clean build. This way the
304304
Debug flags are consistently applied across the whole build process. For
305305
example, use these Debug flags in addition to other flags passed to the
@@ -313,14 +313,15 @@
313313
On Windows:
314314
<pre>
315315
win\buildmsvc.bat FOSSIL_DEBUG=1
316316
</pre>
317317
318
-The resulting fossil binary could then be loaded into a platform-specific
318
+The resulting fossil binary can then be loaded into a platform-specific
319319
debugger. Source files displayed in the debugger correspond to the ones
320
-generated from the translation stage of the build process, that is what was
321
-actually compiled into the object files.
320
+generated from the translation stage of the build process, as that is what
321
+was actually compiled into the respective object files that make up the
322
+fossil binary.
322323
323324
<h1>8.0 See Also</h1>
324325
325326
* [./tech_overview.wiki | A Technical Overview Of Fossil]
326327
* [./adding_code.wiki | How To Add Features To Fossil]
327328
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -7,11 +7,11 @@
7 before it is compiled. Most users will download a
8 [https://fossil-scm.org/home/uv/download.html | precompiled binary]
9 so this is of no consequence to them, and even those who
10 want to compile the code themselves can use one of the
11 [./build.wiki | existing makefiles].
12 So must people do not need to be concerned with the
13 build complexities of Fossil. But hard-core developers who desire
14 a deep understanding of how Fossil is put together can benefit
15 from reviewing this article.
16
17 <h1 id="srctour">2.0 Source Code Tour</h1>
@@ -56,21 +56,21 @@
56 The TH1 script engine is implemented using files:
57
58 9. th.c
59 10. th.h
60
61 The proprocessing steps are omitted for all of these imported
62 files.
63
64 The VERSION.h header file is generated from other information sources
65 using a small program called:
66
67 11. [/file/tools/mkversion.c | mkversion.c]
68
69 The builtin_data.h header file contains the definitions of C-language
70 byte-array constants that contain various resources such as scripts and
71 images. The builtin_data.h header file is generate from the original
72 resource files using a small program called:
73
74 12 [/file/tools/mkbuiltin.c | mkbuiltin.c]
75
76 Examples of built-in resources include the [/file/src/diff.tcl | diff.tcl]
@@ -132,11 +132,11 @@
132 the exceptions described above.
133
134 <h1>3.0 Automatically generated files</h1>
135
136 The "VERSION.h" header file contains some C preprocessor macros that
137 identify the version of Fossil that is to be build. The VERSION.h file is
138 generated automatically from information extracted from the "manifest",
139 "manifest.uuid", and "VERSION" source files in the root directory of the
140 source tree.
141 (The "manifest" and "manifest.uuid" files are automatically generated and
142 updated by Fossil itself. See the [/help/setting | fossil set manifest]
@@ -294,12 +294,12 @@
294 link against the standard C library. No other libraries or external
295 dependences are used.
296
297 <h1>7.0 Debugging</h1>
298
299 Debug mode is controlled via FOSSIL_DEBUG preprocessor macro which could be
300 set explicitly at the make command for the target platform.
301
302 However, in practice it is instead recommended to add a respective configure
303 option for the target platform and then perform a clean build. This way the
304 Debug flags are consistently applied across the whole build process. For
305 example, use these Debug flags in addition to other flags passed to the
@@ -313,14 +313,15 @@
313 On Windows:
314 <pre>
315 win\buildmsvc.bat FOSSIL_DEBUG=1
316 </pre>
317
318 The resulting fossil binary could then be loaded into a platform-specific
319 debugger. Source files displayed in the debugger correspond to the ones
320 generated from the translation stage of the build process, that is what was
321 actually compiled into the object files.
 
322
323 <h1>8.0 See Also</h1>
324
325 * [./tech_overview.wiki | A Technical Overview Of Fossil]
326 * [./adding_code.wiki | How To Add Features To Fossil]
327
--- www/makefile.wiki
+++ www/makefile.wiki
@@ -7,11 +7,11 @@
7 before it is compiled. Most users will download a
8 [https://fossil-scm.org/home/uv/download.html | precompiled binary]
9 so this is of no consequence to them, and even those who
10 want to compile the code themselves can use one of the
11 [./build.wiki | existing makefiles].
12 So most people do not need to be concerned with the
13 build complexities of Fossil. But hard-core developers who desire
14 a deep understanding of how Fossil is put together can benefit
15 from reviewing this article.
16
17 <h1 id="srctour">2.0 Source Code Tour</h1>
@@ -56,21 +56,21 @@
56 The TH1 script engine is implemented using files:
57
58 9. th.c
59 10. th.h
60
61 The preprocessing steps are omitted for all of these imported
62 files.
63
64 The VERSION.h header file is generated from other information sources
65 using a small program called:
66
67 11. [/file/tools/mkversion.c | mkversion.c]
68
69 The builtin_data.h header file contains the definitions of C-language
70 byte-array constants that contain various resources such as scripts and
71 images. The builtin_data.h header file is generated from the original
72 resource files using a small program called:
73
74 12 [/file/tools/mkbuiltin.c | mkbuiltin.c]
75
76 Examples of built-in resources include the [/file/src/diff.tcl | diff.tcl]
@@ -132,11 +132,11 @@
132 the exceptions described above.
133
134 <h1>3.0 Automatically generated files</h1>
135
136 The "VERSION.h" header file contains some C preprocessor macros that
137 identify the version of Fossil that is to be built. The VERSION.h file is
138 generated automatically from information extracted from the "manifest",
139 "manifest.uuid", and "VERSION" source files in the root directory of the
140 source tree.
141 (The "manifest" and "manifest.uuid" files are automatically generated and
142 updated by Fossil itself. See the [/help/setting | fossil set manifest]
@@ -294,12 +294,12 @@
294 link against the standard C library. No other libraries or external
295 dependences are used.
296
297 <h1>7.0 Debugging</h1>
298
299 Debug mode is controlled via a FOSSIL_DEBUG preprocessor macro. This can be
300 set explicitly with the make command for the target platform.
301
302 However, in practice it is instead recommended to add a respective configure
303 option for the target platform and then perform a clean build. This way the
304 Debug flags are consistently applied across the whole build process. For
305 example, use these Debug flags in addition to other flags passed to the
@@ -313,14 +313,15 @@
313 On Windows:
314 <pre>
315 win\buildmsvc.bat FOSSIL_DEBUG=1
316 </pre>
317
318 The resulting fossil binary can then be loaded into a platform-specific
319 debugger. Source files displayed in the debugger correspond to the ones
320 generated from the translation stage of the build process, as that is what
321 was actually compiled into the respective object files that make up the
322 fossil binary.
323
324 <h1>8.0 See Also</h1>
325
326 * [./tech_overview.wiki | A Technical Overview Of Fossil]
327 * [./adding_code.wiki | How To Add Features To Fossil]
328

Keyboard Shortcuts

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