1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/c2mdoc/pkg-descr
Bruce M Simpson ba73e13881 c2mdoc is an awk/shell script wot I wrote to aid in documenting our many
wonderful kernel APIs. c2man seems to choke on tcp_subr.c (which I was using
as a baseline), so let's do it the long way round instead. This script spits
out mdoc(7) markup ready for pasting into the SYNOPSIS section of our
wonderful mdoc.template.
2004-03-02 09:05:14 +00:00

9 lines
358 B
Plaintext

c2mdoc is a shell and awk script wrapper which abuses devel/cproto's parser
to spit out function prototypes in a format ready to paste into FreeBSD
developer documentation. c2man already claims to do such a thing, but seems
crippled in the face of our kernel source. The toolchain used by this port
whinges but still generates markup.
Bruce
bms@FreeBSD.org