So isn't this still pretty broken? I notice that the clean and
distclean targets still use addprefix on a lot of temporary/intermediate
files that I would think get made in the build directory, not the source
directory. The references to man files in srcdir in
nonsql_manpage_files and adjacent macros seem a tad suspicious as well.
regards, tom lane