Re: meson html:alias vs. html:custom

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: "Nazir Bilal Yavuz" <byavuz81(at)gmail(dot)com>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>
Cc: "L(dot) pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson html:alias vs. html:custom
Date: 2026-04-16 06:26:06
Message-ID: d80f78a6-29ef-4094-8c3a-f63fd8189cc8@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-04-14, Nazir Bilal Yavuz wrote:

> On Tue, 14 Apr 2026 at 11:08, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>>
>> If I remove the alias_target, then my original command works. What is
>> the purpose of this alias?
>
> I think the main purpose was using these targets with the ninja
> command like: 'ninja ${target}'. ninja command doesn't work when the
> alias_target() is removed.

I think this is kinda silly. I would rather rename the meson target (to, say, do_html) and make the alias reference that, so that both "meson compile html" and "ninja html" would use the alias.

--
Álvaro Herrera

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Geier 2026-04-16 06:38:45 Re: First draft of PG 19 release notes
Previous Message SATYANARAYANA NARLAPURAM 2026-04-16 06:13:42 [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY