diff options
author | fenner <fenner@FreeBSD.org> | 1999-02-15 07:24:09 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-02-15 07:24:09 +0000 |
commit | 55f6780324edebc776dd2f51dec260716a3f4f53 (patch) | |
tree | f1e9ed9755323dfb2de1039aea4d80dd5b7a5fa0 /contrib | |
parent | 2de1f753415593b082ea7d619859d8c4e3b18041 (diff) | |
download | FreeBSD-src-55f6780324edebc776dd2f51dec260716a3f4f53.zip FreeBSD-src-55f6780324edebc776dd2f51dec260716a3f4f53.tar.gz |
Always define oS to be "FreeBSD $2", no matter whether or not we
know the version number given as the argument to ".Os FreeBSD xxx".
Output nroff warning when we see a version number that we don't
know about.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/groff/tmac/doc-common | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common index 39d23d9..4251a96 100644 --- a/contrib/groff/tmac/doc-common +++ b/contrib/groff/tmac/doc-common @@ -232,23 +232,25 @@ . if "\\$2"4.4" .ds oS 4.4BSD .\} .if "\\$1"FreeBSD" \{\ -. if "\\$2"2" .ds oS FreeBSD 2.0 -. if "\\$2"2.0" .ds oS FreeBSD 2.0 -. if "\\$2"2.0.5" .ds oS FreeBSD 2.0.5 -. if "\\$2"2.1" .ds oS FreeBSD 2.1 -. if "\\$2"2.1.5" .ds oS FreeBSD 2.1.5 -. if "\\$2"2.1.6" .ds oS FreeBSD 2.1.6 -. if "\\$2"2.1.7" .ds oS FreeBSD 2.1.7 -. if "\\$2"2.2" .ds oS FreeBSD 2.2 -. if "\\$2"2.2.1" .ds oS FreeBSD 2.2.1 -. if "\\$2"2.2.2" .ds oS FreeBSD 2.2.2 -. if "\\$2"2.2.5" .ds oS FreeBSD 2.2.5 -. if "\\$2"2.2.6" .ds oS FreeBSD 2.2.6 -. if "\\$2"2.2.7" .ds oS FreeBSD 2.2.7 -. if "\\$2"2.2.8" .ds oS FreeBSD 2.2.8 -. if "\\$2"3.0" .ds oS FreeBSD 3.0 -. if "\\$2"3.1" .ds oS FreeBSD 3.1 -. if "\\$2"4.0" .ds oS FreeBSD 4.0 +. ie "\\$2"2" .ds oS FreeBSD 2.0 +. el .ds oS FreeBSD \\$2 +. ie \\n(.$==0 \c +. el .ie "\\$2"2" \c +. el .ie "\\$2"2.0" \c +. el .ie "\\$2"2.0.5" \c +. el .ie "\\$2"2.1" \c +. el .ie "\\$2"2.1.5" \c +. el .ie "\\$2"2.1.6" \c +. el .ie "\\$2"2.1.7" \c +. el .ie "\\$2"2.2" \c +. el .ie "\\$2"2.2.5" \c +. el .ie "\\$2"2.2.6" \c +. el .ie "\\$2"2.2.7" \c +. el .ie "\\$2"2.2.8" \c +. el .ie "\\$2"3.0" \c +. el .ie "\\$2"3.1" \c +. el .ie "\\$2"4.0" \c +. el .tm Unknown FreeBSD version ``\\$2'' at line \\n(c. .\} .if "\\*(oS"Null" .ds oS \0\\$1 .if "\\*(aa"Non-Null" .as oS \0\\$2 |