124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
-
+
|
There are three preprocessors for the Fossil sources. The mkindex
and translate preprocessors can be run in any order. The makeheaders
preprocessor must be run after translate.
<h2>4.1 The mkindex preprocessor</h2>
The mkindex program scans the "src.c" source files looking for special
comments that identify routines that implement of various Fossil commands,
comments that identify routines that implement various Fossil commands,
web interface methods, and help text comments. The mkindex program
generates some C code that Fossil uses in order to dispatch commands and
HTTP requests and to show on-line help. Compile the mkindex program
from the mkindex.c source file. Then run:
<blockquote><pre>
./mkindex src.c >page_index.h
|