Next: , Previous: Doc Extraction from C Source, Up: Doc Maintenance


13.2.4 Doc Extraction from C Headers

For C header files, you can use the h2doc program to extract documentation for C macros (see guile-tools h2doc).

Following on the c2doc example, here is a Makefile.am fragment that makes use of h2doc:

     SUFFIXES = .h .doc
     .h.doc:
             guile-tools h2doc -o $@ $<