Le 25/11/2014 11:55, Kornel Benko a écrit :
Am Montag, 24. November 2014 um 22:04:10, schrieb Jean-Marc Lasgouttes
<lasgout...@lyx.org>
I have not dont anything like lyx_date.h yet. How do you use it? Is it
the build date?
It is the build date. Similar to commit_hash.
That's what I thought. It is actually the rlease date, which is a
different beast.
I have pushed some changes that make sure that the build date is now
correct, as long as you make sure that version.o is recompiled everytime
lyx is built. This is the case with autotools at least.
I propose to get rid of this lyx_date.h header file, unless I missed
something.
I will next propose something for the release date: instead of the "not
released" yet text, I propose to show the git commit if we have one.
Would that make sense? I would think that the git commit is not needed
for a real build, since in this case the release is tagged, and normal
users do not need to know about this git business.
JMarc