diff options
author | Chris Wright <chrisw@sous-sol.org> | 2011-12-08 23:36:03 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-12-09 09:42:34 -0800 |
commit | 9fed3d3e966f2ae3bb56d454f1b6fa41edb3c247 (patch) | |
tree | 964ced7ce69e4b62f64bc9ba66300f6a8e07fd85 /ovsdb | |
parent | a038fa773089b33332bd4d860b9bd4190e0cc573 (diff) |
man: fix pic issue at the source
The commit 0993b66 (man: pic failed to run during manpage-check) worked
around the manpage-check warning generated by groff. Using "-T ascii"
rather "-T utf8" was enough to silence the warning because the man page
has this condition in it:
.if !'\*[.T]'ascii'
However, rpmlint generates the same warning as manpage-check was (it
uses -Tutf8), and manpages are generated using -Tutf8 (leading to an
fairly unreadable drawing). So let's change the logic a bit and allow
pdf generation w/ nice drawing and kill it for tty's.
Cc: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb')
-rwxr-xr-x | ovsdb/ovsdb-doc.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 5aac1ad1..53292b33 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -312,7 +312,8 @@ Purpose if erFile: s += """ -.if !'\*[.T]'ascii' \{ +.\\" check if in troff mode (TTY) +.if t \{ .bp .SH "TABLE RELATIONSHIPS" .PP |