Re: pgsql: Move snowball_create.sql creation into perl file

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, PostgreSQL Packagers <pgsql-packagers@lists.postgresql.org>
Date: 2023-05-23T14:06:26Z
Lists: pgsql-hackers
Re: To Andres Freund
> this seems to have broken out-of-tree builds from tarballs:
> 
> /usr/bin/install -c -m 644 snowball_create.sql '/srv/projects/postgresql/debian/16/build/tmp_install/usr/share/postgresql/16'
> /usr/bin/install: cannot stat 'snowball_create.sql': No such file or directory

Fortunately, there is an easy workaround, just delete
src/backend/snowball/snowball_create.sql before building, it will then
be recreated in the proper build directory.

Christoph



Commits

  1. Fix the install rule for snowball_create.sql.

  2. Move snowball_create.sql creation into perl file