From: Ben Pfaff <blp@nicira.com> Date: Fri, 9 Mar 2012 22:37:31 +0000 (-0800) Subject: ovsdb-doc: Put NAME section into generated manpage. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c233d1b2ba095afe88fc3b763dabfec9dfbfcf0d;p=sliver-openvswitch.git ovsdb-doc: Put NAME section into generated manpage. This makes the manpage indexable by standard system tools. Found by lintian. Reported-by: Thomas Goirand <zigo@debian.org> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com> --- diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 53292b33b..8e0e1718c 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -270,9 +270,9 @@ def docsToNroff(schemaFile, xmlFile, erFile, title=None): . I "\\$1" . RE .. -''' % (title, d.strftime("%B %Y")) - - s += '.SH "%s DATABASE"\n' % schema.name +.SH NAME +%s \- %s database schema +''' % (title, d.strftime("%B %Y"), textToNroff(title), schema.name) tables = "" introNodes = []