Re: how to get MAJORVERSION in meson

2024-11-30 Thread Pavel Stehule
so 30. 11. 2024 v 16:42 odesílatel jian he napsal: > On Fri, Nov 29, 2024 at 7:09 PM Pavel Stehule > wrote: > > > > > > > > pá 29. 11. 2024 v 10:42 odesílatel Pavel Stehule < > pavel.steh...@gmail.com> napsal: > >> > >> Hi > >> > >> I tried to add meson support to plpgsql_check. As template I us

Re: how to get MAJORVERSION in meson

2024-11-30 Thread jian he
On Fri, Nov 29, 2024 at 7:09 PM Pavel Stehule wrote: > > > > pá 29. 11. 2024 v 10:42 odesílatel Pavel Stehule > 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 >> >> Unfortunat

Re: how to get MAJORVERSION in meson

2024-11-29 Thread Pavel Stehule
pá 29. 11. 2024 v 10:42 odesílatel Pavel Stehule 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 M

how to get MAJORVERSION in meson

2024-11-29 Thread Pavel Stehule
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