Re: Adding init-po and update-po targets to the meson build system - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: Adding init-po and update-po targets to the meson build system
Date
Msg-id CAOYmi+ngxO_k7BWbBPkdAqpckXoFF=GJCX8UWAHjxH5ojG35-Q@mail.gmail.com
Whole thread
In response to Re: Adding init-po and update-po targets to the meson build system  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Responses Re: Adding init-po and update-po targets to the meson build system
List pgsql-hackers
On Wed, Oct 7, 2026 at 9:40 AM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
> Yes, I agree that it is kind of nightmarish. I considered both options
> and chose to use JSON files because, AFAIK, we want to remove the
> autoconf system and use meson in the future. So, using JSON files
> makes more sense to me from a maintainability perspective for this
> reason.

A third path might be to disentangle the NLS makefiles from
Makefile.global, so that you don't need Autoconf in order to make use
of their targets. Then the Meson targets could just defer to that
implementation.

(sslfiles.mk took a similar approach, and I've been happy with it so
far. The init-po use case seems somewhat close, at least, since a
developer doesn't need to run it very often. Not sure about
update-po.)

--Jacob



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: 041_checkpoint_at_promote.pl might fail due to race condition on child kill
Next
From: Baji Shaik
Date:
Subject: [PATCH] Unify duplicate-option handling across utility commands