Fossil SCM

A couple more src-to-tools link fixes.

stephan 2022-01-10 05:18 trunk
Commit b3460ed3b0e42c119724f7f618e7dcd318c95a9f0316917e8e6bd46e3978f02d
1 file changed +2 -2
--- www/adding_code.wiki
+++ www/adding_code.wiki
@@ -45,11 +45,11 @@
4545
<h2>3.0 Adding New Source Code Files</h2>
4646
4747
New source code files are added in the "src/" subdirectory of the Fossil
4848
source tree. Suppose one wants to add a new source code file named
4949
"xyzzy.c". The first step is to add this file to the various makefiles.
50
-Do so by editing the file src/makemake.tcl and adding "xyzzy" (without
50
+Do so by editing the file tools/makemake.tcl and adding "xyzzy" (without
5151
the final ".c") to the list of source modules at the top of that script.
5252
Save the result and then run the makemake.tcl script using a TCL
5353
interpreter. The command to run the makemake.tcl script is:
5454
5555
<b>tclsh makemake.tcl</b>
@@ -91,11 +91,11 @@
9191
9292
The "#if INTERFACE ... #endif" section is optional and is only needed
9393
if there are structure definitions or typedefs or macros that need to
9494
be used by other source code files. The makeheaders preprocessor
9595
uses definitions in the INTERFACE section to help it generate header
96
-files. See [../src/makeheaders.html | makeheaders.html] for additional
96
+files. See [../tools/makeheaders.html | makeheaders.html] for additional
9797
information.
9898
9999
After creating a template file such as shown above, and after updating
100100
the makefiles, you should be able to recompile Fossil and have it include
101101
your new source file, even before you source file contains any code.
102102
--- www/adding_code.wiki
+++ www/adding_code.wiki
@@ -45,11 +45,11 @@
45 <h2>3.0 Adding New Source Code Files</h2>
46
47 New source code files are added in the "src/" subdirectory of the Fossil
48 source tree. Suppose one wants to add a new source code file named
49 "xyzzy.c". The first step is to add this file to the various makefiles.
50 Do so by editing the file src/makemake.tcl and adding "xyzzy" (without
51 the final ".c") to the list of source modules at the top of that script.
52 Save the result and then run the makemake.tcl script using a TCL
53 interpreter. The command to run the makemake.tcl script is:
54
55 <b>tclsh makemake.tcl</b>
@@ -91,11 +91,11 @@
91
92 The "#if INTERFACE ... #endif" section is optional and is only needed
93 if there are structure definitions or typedefs or macros that need to
94 be used by other source code files. The makeheaders preprocessor
95 uses definitions in the INTERFACE section to help it generate header
96 files. See [../src/makeheaders.html | makeheaders.html] for additional
97 information.
98
99 After creating a template file such as shown above, and after updating
100 the makefiles, you should be able to recompile Fossil and have it include
101 your new source file, even before you source file contains any code.
102
--- www/adding_code.wiki
+++ www/adding_code.wiki
@@ -45,11 +45,11 @@
45 <h2>3.0 Adding New Source Code Files</h2>
46
47 New source code files are added in the "src/" subdirectory of the Fossil
48 source tree. Suppose one wants to add a new source code file named
49 "xyzzy.c". The first step is to add this file to the various makefiles.
50 Do so by editing the file tools/makemake.tcl and adding "xyzzy" (without
51 the final ".c") to the list of source modules at the top of that script.
52 Save the result and then run the makemake.tcl script using a TCL
53 interpreter. The command to run the makemake.tcl script is:
54
55 <b>tclsh makemake.tcl</b>
@@ -91,11 +91,11 @@
91
92 The "#if INTERFACE ... #endif" section is optional and is only needed
93 if there are structure definitions or typedefs or macros that need to
94 be used by other source code files. The makeheaders preprocessor
95 uses definitions in the INTERFACE section to help it generate header
96 files. See [../tools/makeheaders.html | makeheaders.html] for additional
97 information.
98
99 After creating a template file such as shown above, and after updating
100 the makefiles, you should be able to recompile Fossil and have it include
101 your new source file, even before you source file contains any code.
102

Keyboard Shortcuts

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