PD_VERSION_CODE was added and shows up in the grep output as a second line. The fix is to simply filter it out when grabbing the values. A fix is here:

https://github.com/pure-data/pure-data/pull/2298

On May 8, 2024, at 9:27 PM, pd-dev-request@lists.iem.at wrote:

Message: 4
Date: Wed, 8 May 2024 21:29:43 +0200
From: Miller Puckette <mpuckette@cloud.ucsd.edu>
To: Alexandre Torres Porres <porres@gmail.com>
Cc: pd-dev <pd-dev@lists.iem.at>
Subject: Re: [PD-dev] trouble with Pd version strings
Message-ID: <58043f32-0a8d-4aa9-9a03-a070d6c4594c@cloud.ucsd.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed

No, it's a conflict between doc/Makefile.am and recent changes in 
m_pd.h.? doc/Makefile.am is quite fragile and a seemingly 
reasonablechange to m_pd.h broke it.? I have to get to a couple of other 
things now but will try to figure out what to do tomorrow... possibly 
just take the version-number-setting hack out of the doc :)

cheers

M

--------
Dan Wilcox
danomatika.com
robotcowboy.com