Put genbki.pl output into src/include/catalog/ directly
authorPeter Eisentraut
Thu, 14 Mar 2024 05:57:16 +0000 (06:57 +0100)
committerPeter Eisentraut
Thu, 14 Mar 2024 06:11:21 +0000 (07:11 +0100)
commit6ab2e8385d55e0b73bb8bbc41d9c286f5f7f357f
tree7c3abafda242ca2277bf70b17a95f2d5dabaf454
parent6cb1b632b354518a595f1b23bfbac28a798f7f1c
Put genbki.pl output into src/include/catalog/ directly

With the makefile rules, the output of genbki.pl was written to
src/backend/catalog/, and then the header files were linked to
src/include/catalog/.

This changes it so that the output files are written directly to
src/include/catalog/.  This makes the logic simpler, and it also makes
the behavior consistent with the meson build system.  Also, the list
of catalog files is now kept in parallel in
src/include/catalog/{meson.build,Makefile}, while before the makefiles
had it in src/backend/catalog/Makefile.

Reviewed-by: Andreas Karlsson
Discussion: https://www.postgresql.org/message-id/flat/21b74bdc-183d-4dd5-9c27-9378d178f459@eisentraut.org
src/backend/Makefile
src/backend/catalog/.gitignore [deleted file]
src/backend/catalog/Makefile
src/include/Makefile
src/include/catalog/.gitignore
src/include/catalog/Makefile
src/include/catalog/meson.build
src/tools/pginclude/headerscheck