I think all that is needed is to allow the program launched by the browser launch script (firefox/iceweasel/chromium-browser) some time to load the generated files before they are removed.
Untested patch: --- src/man.c.orig 2010-10-17 17:18:39.316771588 +0100 +++ src/man.c 2010-10-17 17:21:03.760738174 +0100 @@ -2226,6 +2226,7 @@ old_cwd); chdir ("/"); } + sleep (10); if (remove_directory (htmldir) == -1) error (0, errno, _("can't remove directory %s"), htmldir); -- Sam Morris <https://robots.org.uk/> 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
signature.asc
Description: This is a digitally signed message part