From 9f88469c0cbc8fa13a97e7b5b7902566e730f72c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 9 Mar 2012 14:37:31 -0800 Subject: [PATCH] ovsdb-doc: Put NAME section into generated manpage. This makes the manpage indexable by standard system tools. Found by lintian. Reported-by: Thomas Goirand Reviewed-by: Simon Horman Signed-off-by: Ben Pfaff --- ovsdb/ovsdb-doc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 8f725d79..5ae6706e 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -275,9 +275,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 = [] -- 2.30.2