# Generate index template from the DIRECTORY files. The template for
# the generated index template is INDEX.tmpl.
- files=`find $SRC -name "DIRECTORY"`
- for i in $files
+ dfiles=`find $SRC -name "DIRECTORY"`
+ for i in $dfiles
do
# Get library name
name=`grep "@LIBRARY=" $i |cut -d= -f2`
done
# Generate the index and TOC files from the DIRECTORY files
- files=`find $SRC -name "DIRECTORY"`
- for i in $files
+ for i in $dfiles
do
# Get library name
name=`grep "@LIBRARY=" $i |cut -d= -f2`
RB_Say ("generating documentation for \"%s\"\n", cur_header->name);
+#if 1
+ /* If MAIN_HEADER, do not create file */
+ if (cur_header->type == MAIN_HEADER)
+ continue;
+#endif
+
if (output_mode == HTML)
{
sprintf(fname, "%s-%s.html", doc_base, cur_header->function_name);