build: cleanup of manpage processing