Format list of catalog files in makefile vertically

Поиск
Список
Период
Сортировка
Искать

Format list of catalog files in makefile vertically

От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
Вложения:
I propose to reformat the catalog lists in src/backend/catalog/Makefile 
to be more vertical, one per line.  This makes it easier to keep that 
list in sync with src/include/catalog/meson.build, and visually compare 
both lists.  Also, it's easier to read and edit in general.

In passing, I'd also copy over some relevant comments from the makefile 
to meson.build.  For the hypothetical future when we delete the 
makefiles, these comments seem worth keeping.  (For fun, I tested 
whether the comments are still true, and yes, the order still matters.)

Re: Format list of catalog files in makefile vertically

От:
Andres Freund <andres@anarazel.de>
Дата:
Hi, 

On August 25, 2023 9:12:51 AM EDT, Peter Eisentraut  wrote:
>I propose to reformat the catalog lists in src/backend/catalog/Makefile to be more vertical, one per line.  This makes it easier to keep that list in sync with src/include/catalog/meson.build, and visually compare both lists.  Also, it's easier to read and edit in general.
>
>In passing, I'd also copy over some relevant comments from the makefile to meson.build.  For the hypothetical future when we delete the makefiles, these comments seem worth keeping.  (For fun, I tested whether the comments are still true, and yes, the order still matters.)

Makes sense to me.

Andres 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: Format list of catalog files in makefile vertically

От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
On 2023-Aug-25, Peter Eisentraut wrote:

> I propose to reformat the catalog lists in src/backend/catalog/Makefile to
> be more vertical, one per line.  This makes it easier to keep that list in
> sync with src/include/catalog/meson.build, and visually compare both lists.
> Also, it's easier to read and edit in general.

+1

> In passing, I'd also copy over some relevant comments from the makefile to
> meson.build.  For the hypothetical future when we delete the makefiles,
> these comments seem worth keeping.  (For fun, I tested whether the comments
> are still true, and yes, the order still matters.)

Sure.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"La experiencia nos dice que el hombre peló millones de veces las patatas,
pero era forzoso admitir la posibilidad de que en un caso entre millones,
las patatas pelarían al hombre" (Ijon Tichy)


FAQ