/[global]/global/htags/htags.c
ViewVC logotype

Diff of /global/htags/htags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.63 by shigio, Wed May 11 01:12:29 2005 UTC revision 1.64 by shigio, Wed May 11 01:50:11 2005 UTC
# Line 353  generate_file(dist, file) Line 353  generate_file(dist, file)
353          };          };
354          int tabsize = sizeof(tab) / sizeof(struct map);          int tabsize = sizeof(tab) / sizeof(struct map);
355    
356          tab[0].value = gen_page_begin("Result", SUBDIR, 0);          tab[0].value = gen_page_begin("Result", SUBDIR);
357          tab[1].value = gen_page_end();          tab[1].value = gen_page_end();
358          tab[2].value = gen_name_string("L$.");          tab[2].value = gen_name_string("L$.");
359          /*          /*
# Line 505  makehelp(file) Line 505  makehelp(file)
505          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
506          if (!op)          if (!op)
507                  die("cannot make help file.");                  die("cannot make help file.");
508          fputs_nl(gen_page_begin("HELP", TOPDIR, 0), op);          fputs_nl(gen_page_begin("HELP", TOPDIR), op);
509          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
510          fputs(header_begin, op);          fputs(header_begin, op);
511          fputs("Usage of Links", op);          fputs("Usage of Links", op);
# Line 634  makeindex(file, title, index) Line 634  makeindex(file, title, index)
634          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
635          if (!op)          if (!op)
636                  die("cannot make file '%s'.", file);                  die("cannot make file '%s'.", file);
         fputs_nl(gen_page_begin(title, TOPDIR, Fflag), op);  
637          if (Fflag) {          if (Fflag) {
638                    fputs_nl(gen_frameset_page_begin(title), op);
639                  fputs_nl(gen_frameset_begin("cols='200,*'"), op);                  fputs_nl(gen_frameset_begin("cols='200,*'"), op);
640                  if (fflag) {                  if (fflag) {
641                          fputs_nl(gen_frameset_begin("rows='33%,33%,*'"), op);                          fputs_nl(gen_frameset_begin("rows='33%,33%,*'"), op);
# Line 657  makeindex(file, title, index) Line 657  makeindex(file, title, index)
657                  fputs_nl(body_end, op);                  fputs_nl(body_end, op);
658                  fputs_nl(noframes_end, op);                  fputs_nl(noframes_end, op);
659                  fputs_nl(gen_frameset_end(), op);                  fputs_nl(gen_frameset_end(), op);
660                    fputs_nl(gen_page_end(), op);
661          } else {          } else {
662                    fputs_nl(gen_page_begin(title, TOPDIR), op);
663                  fputs_nl(body_begin, op);                  fputs_nl(body_begin, op);
664                  if (insert_header)                  if (insert_header)
665                          fputs(gen_insert_header(TOPDIR), op);                          fputs(gen_insert_header(TOPDIR), op);
# Line 665  makeindex(file, title, index) Line 667  makeindex(file, title, index)
667                  if (insert_footer)                  if (insert_footer)
668                          fputs(gen_insert_footer(TOPDIR), op);                          fputs(gen_insert_footer(TOPDIR), op);
669                  fputs_nl(body_end, op);                  fputs_nl(body_end, op);
670                    fputs_nl(gen_page_end(), op);
671          }          }
         fputs_nl(gen_page_end(), op);  
672          fclose(op);          fclose(op);
673          file_count++;          file_count++;
674  }  }
# Line 686  makemainindex(file, index) Line 688  makemainindex(file, index)
688          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
689          if (!op)          if (!op)
690                  die("cannot make file '%s'.", file);                  die("cannot make file '%s'.", file);
691          fputs_nl(gen_page_begin(title, TOPDIR, 0), op);          fputs_nl(gen_page_begin(title, TOPDIR), op);
692          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
693          if (insert_header)          if (insert_header)
694                  fputs(gen_insert_header(TOPDIR), op);                  fputs(gen_insert_header(TOPDIR), op);
# Line 712  makesearchindex(file) Line 714  makesearchindex(file)
714          op = fopen(makepath(distpath, file, NULL), "w");          op = fopen(makepath(distpath, file, NULL), "w");
715          if (!op)          if (!op)
716                  die("cannot create file '%s'.", file);                  die("cannot create file '%s'.", file);
717          fputs_nl(gen_page_begin("SEARCH", TOPDIR, 0), op);          fputs_nl(gen_page_begin("SEARCH", TOPDIR), op);
718          fputs_nl(body_begin, op);          fputs_nl(body_begin, op);
719          fputs(makesearchpart(action, id, "mains"), op);          fputs(makesearchpart(action, id, "mains"), op);
720          fputs_nl(body_end, op);          fputs_nl(body_end, op);

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26