build: minor, fixes related to pdf building
build: tweaks to legacy manpage generation