From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(at)eisentraut(dot)org> |
Subject: | Re: how to get MAJORVERSION in meson |
Date: | 2024-11-29 11:08:40 |
Message-ID: | CAFj8pRBuP0Zym4VtRmgTb_Yzn3kWqozsSUsbAU0ZrZdQUh9xXw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
pá 29. 11. 2024 v 10:42 odesílatel Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
napsal:
> Hi
>
> I tried to add meson support to plpgsql_check. As template I used
> https://raw.githubusercontent.com/petere/plsh/refs/heads/meson/meson.build
>
> Unfortunately, for tests I need to know MAJORVERSION. In makefile I use
>
> ifndef MAJORVERSION
> MAJORVERSION := $(basename $(VERSION))
> endif
>
> Is there some similar pattern for meson?
>
>
at the end I wrote (based on Postgres's meson build).
https://github.com/okbob/plpgsql_check/blob/master/meson.build
Is there some other solution?
Regards
Pavel
> Regards
>
> Pavel
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Nazir Bilal Yavuz | 2024-11-29 11:19:41 | Re: Using read stream in autoprewarm |
Previous Message | Kirill Gavrilov | 2024-11-29 11:05:01 | Re: Truncate logs by max_log_size |