Ignore references to builtin on the mac

On my system (OS-X 10.11) references to builtin are denoted by:
".so man1/builtin.1". So you also need to check against that.
This commit is contained in:
Alexander Hedges 2015-11-07 18:01:55 +01:00 committed by ridiculousfish
parent e7d18b96f9
commit 8d97a85834

View File

@ -759,7 +759,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
return
# Ignore the millions of links to BUILTIN(1)
if manpage.find('BUILTIN 1') != -1:
if 'BUILTIN 1' in manpage or 'builtin.1' in manpage:
return
# Clear the output list