gprofng not quite ready for prime time?
Jan Beulich
jbeulich@suse.com
Thu Aug 11 14:23:16 GMT 2022
On 11.08.2022 16:02, Ruud van der Pas wrote:
>> Hmm, do you mean one would need to remember to update a certain file (or
>> a certain line in a file) for every doc change? That's exactly what one
>> would want to avoid I would say, and hence a good reason to have the
>> file generated (no matter how small / trivial it is).
>
> That was my original intention indeed, but if I dynamically set the
> date in version.texi, or in some other place, the user will get a
> date in the document that depends on when they build binutils.
>
> I'm definitely open for suggestions how to address this!
Take the time stamp of the newest file in the doc dir (or a subset thereof)?
With how git works, this may of course still not be what you want, so the
next approach then would be to actually query git (as long as you're in a
git tree) for the newest commit's date touching any of the relevant files.
Sounds all quite a bit more involved than simply using the time when the
build was done.
Jan
More information about the Binutils
mailing list