Move snowball_create.sql creation into perl file
authorAndres Freund <[email protected]>
Mon, 18 Jul 2022 19:11:34 +0000 (12:11 -0700)
committerAndres Freund <[email protected]>
Mon, 18 Jul 2022 19:24:27 +0000 (12:24 -0700)
commitb3a0d8324cf1f02c04a7099a436cfd68cfbf4566
tree9104fe6176100e2e300bfb86f1657b73ac1dc7dd
parentdb0a272d123b8d7f4d4acbeb54f27682a566be83
Move snowball_create.sql creation into perl file

This is in preparation for building postgres with meson / ninja.

We already have duplicated code for this between the make and msvc
builds. Adding a third copy seems like a bad plan, thus move the generation
into a perl script.

As we don't want to rely on perl being available for builds from tarballs,
generate the file during distprep.

Author: Peter Eisentraut <[email protected]>
Author: Andres Freund <[email protected]>
Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com
src/backend/snowball/Makefile
src/backend/snowball/snowball_create.pl [new file with mode: 0644]
src/tools/msvc/Install.pm