I've been dreaming about this for ages and finally obtained a tuit from
somewhere. The (rather grungy) script make-manpage extracts the grammar
and option information from the input manpage and spits it out again.
It's slightly surprising how bad a deroffer it can get away with...