Re: meson uses stale pg_config_paths.h left over from make

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: David Rowley <dgrowleyml@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2023-08-24T06:18:14Z
Lists: pgsql-hackers
On 23.08.23 14:52, David Rowley wrote:
> Generally when there are files left over the meson build script will
> detect this and ask you to run make maintainer-clean.  That's useful
> on Linux, but on Windows you're just left to manually remove the
> conflicting files which are listed.  Unfortunately, pg_config_paths.h
> wasn't listed, which I think was missed because it's not generated
> during configure, but during the actual make build. (see
> src/port/Makefile)

How is this different from any other built file being left in the tree? 
Surely meson should not be required to detect that?




Commits

  1. Meson: check for pg_config_paths.h left over from make