From 9b38cbd9069ed0dc215f7029e03b3af63ee0f699 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 23 Mar 2014 12:26:58 +0000 Subject: If a man(7) NAME section contains macros, avoid truncated or empty entries for .Nd in mandocdb(8), instead use the macro content recursively. This improves indexing of more than 200 manuals in Xenocara, i.e. more than 15%, in particular GL and some Xkb. --- man.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man.h') diff --git a/man.h b/man.h index ef9480f2..fb280bc3 100644 --- a/man.h +++ b/man.h @@ -1,6 +1,7 @@ -/* $Id: man.h,v 1.62 2013/10/17 20:54:58 schwarze Exp $ */ +/* $Id: man.h,v 1.63 2014/03/23 12:26:58 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons + * Copyright (c) 2014 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -111,6 +112,7 @@ struct man; const struct man_node *man_node(const struct man *); const struct man_meta *man_meta(const struct man *); const struct mparse *man_mparse(const struct man *); +void man_deroff(char **, const struct man_node *); __END_DECLS -- cgit v1.2.3