From: Ben Pfaff Date: Thu, 26 May 2011 16:06:10 +0000 (-0700) Subject: ovsdb-doc: Omit E-R diagram from ASCII version of manpage. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c182a514d4720b1caf45e048bb6a84106b20ba7b;p=openvswitch ovsdb-doc: Omit E-R diagram from ASCII version of manpage. The E-R diagram is illegible when rendered in ASCII, so exclude it from that version only. The E-R diagram is still included in other versions of the manpage (e.g. for PostScript output). --- diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 3c825d2a..2577e782 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -286,6 +286,7 @@ Table Purpose if erFile: s += """ +.if !'\*[.T]'ascii' \{ .sp 1 .SH "TABLE RELATIONSHIPS" .PP @@ -303,7 +304,7 @@ represent strong references; thin lines represent weak references. for line in erStream: s += line + '\n' erStream.close() - s += ".RE\n" + s += ".RE\\}\n" for node in tableNodes: s += tableToNroff(schema, node) + "\n"