1

I have a C program called ncdump.c, and I am documenting it with doxygen.

When I generate the man page, I get one called ncdump.c.3. This is not helpful. I need ncdump.1.

I know how to change the man page section in the Doxyfile, but how do I get rid of the ".c"?

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
Edward Hartnett
  • 882
  • 7
  • 16

1 Answers1

2

Set MAN_EXTENSION to .1 and use a @page ncdump to document your program, e.g.

/** @page ncdump ncdump tool 
 *
 *  @section usage Usage Information
 *  Information on how to use this application.
 */
doxygen
  • 14,341
  • 2
  • 43
  • 37