Fossil SCM
A couple more src-to-tools link fixes.
Commit
b3460ed3b0e42c119724f7f618e7dcd318c95a9f0316917e8e6bd46e3978f02d
Parent
78c484d153af793…
1 file changed
+2
-2
+2
-2
| --- www/adding_code.wiki | ||
| +++ www/adding_code.wiki | ||
| @@ -45,11 +45,11 @@ | ||
| 45 | 45 | <h2>3.0 Adding New Source Code Files</h2> |
| 46 | 46 | |
| 47 | 47 | New source code files are added in the "src/" subdirectory of the Fossil |
| 48 | 48 | source tree. Suppose one wants to add a new source code file named |
| 49 | 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 | |
| 50 | +Do so by editing the file tools/makemake.tcl and adding "xyzzy" (without | |
| 51 | 51 | the final ".c") to the list of source modules at the top of that script. |
| 52 | 52 | Save the result and then run the makemake.tcl script using a TCL |
| 53 | 53 | interpreter. The command to run the makemake.tcl script is: |
| 54 | 54 | |
| 55 | 55 | <b>tclsh makemake.tcl</b> |
| @@ -91,11 +91,11 @@ | ||
| 91 | 91 | |
| 92 | 92 | The "#if INTERFACE ... #endif" section is optional and is only needed |
| 93 | 93 | if there are structure definitions or typedefs or macros that need to |
| 94 | 94 | be used by other source code files. The makeheaders preprocessor |
| 95 | 95 | 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 | |
| 97 | 97 | information. |
| 98 | 98 | |
| 99 | 99 | After creating a template file such as shown above, and after updating |
| 100 | 100 | the makefiles, you should be able to recompile Fossil and have it include |
| 101 | 101 | your new source file, even before you source file contains any code. |
| 102 | 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 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 |