Put genbki.pl output into src/include/catalog/ directly
Peter Eisentraut <peter@eisentraut.org>
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 <andreas@proxel.se>
Discussion: https://www.postgresql.org/message-id/flat/21b74bdc-183d-4dd5-9c27-9378d178f459@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/.gitignore | deleted | +0 −8 |
| src/backend/catalog/Makefile | modified | +2 −138 |
| src/backend/Makefile | modified | +1 −1 |
| src/include/catalog/.gitignore | modified | +3 −1 |
| src/include/catalog/Makefile | modified | +152 −0 |
| src/include/catalog/meson.build | modified | +1 −2 |
| src/include/Makefile | modified | +4 −3 |
| src/tools/pginclude/headerscheck | modified | +0 −2 |
Discussion
- Put genbki.pl output into src/include/catalog/ directly 5 messages · 2024-02-08 → 2024-03-14