diff options
author | bms <bms@FreeBSD.org> | 2004-03-02 20:02:15 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-03-02 20:02:15 +0800 |
commit | 983d9be3acbf35bffe23e14d79f6830fbf3d5169 (patch) | |
tree | 463936396544d0a37077519d5a288978a25ab656 /devel | |
parent | c1df6c16db94774b0f39e1671db25f64c3dffb05 (diff) | |
download | freebsd-ports-graphics-983d9be3acbf35bffe23e14d79f6830fbf3d5169.tar.gz freebsd-ports-graphics-983d9be3acbf35bffe23e14d79f6830fbf3d5169.tar.zst freebsd-ports-graphics-983d9be3acbf35bffe23e14d79f6830fbf3d5169.zip |
Correct a typo: .Fa -> .Ft in mdoc output. Add CVS tags.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/c2mdoc/files/c2mdoc | 2 | ||||
-rw-r--r-- | devel/c2mdoc/files/c2mdoc.awk | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/c2mdoc/files/c2mdoc b/devel/c2mdoc/files/c2mdoc index 245e8687b05..e1b789998d0 100644 --- a/devel/c2mdoc/files/c2mdoc +++ b/devel/c2mdoc/files/c2mdoc @@ -3,6 +3,8 @@ # c2mdoc -- Front-end which abuses the cproto parser to spit out # mdoc(7) format prototypes for use in FreeBSD documentation. # +# $FreeBSD$ +# AWKSCRIPT="%%LIBEXECDIR%%/c2mdoc.awk" CPROTO='-P"int\tf\t(\ta\t,\tb\t)" -pq -f3' diff --git a/devel/c2mdoc/files/c2mdoc.awk b/devel/c2mdoc/files/c2mdoc.awk index 5bf92fecbc1..ec7dfb9ab84 100644 --- a/devel/c2mdoc/files/c2mdoc.awk +++ b/devel/c2mdoc/files/c2mdoc.awk @@ -3,9 +3,11 @@ # c2mdoc.awk -- Takes tabulated output from cproto(1) and turns it into # mdoc(7) markup. # +# $FreeBSD$ +# BEGIN { FS="\t" } { - printf ".Fa %s\n", $1 ; + printf ".Ft %s\n", $1 ; printf ".Fn %s", $2 ; for (i = 4; i < NF; i++) printf " \"%s\"", $i |