|
From: Petr M. <mi...@ph...> - 2005-11-23 23:58:49
|
>> Harald Harders wrote:
>>> grep '/ChangeLog/' CVS/Entries | sed 's_/ChangeLog/[0-9.]*/\(.*\)//_\1_'
>>>
>>> during compiling or by ./configure or ./prepare.
>>
>> Please keep in mind that not all developers are on Unix ...
>
> Oh yes, I sometimes forget this. How do these people work?
Those people install such utilities from cygwin, mingw or gnuwin32 projects.
I propose that
./configure
gets the date from ChangeLong, and #defines it in config.h as
GNUPLOT_LAST_MODIFIED. Then the printing code of "show version" uses
#ifdef GNUPLOT_LAST_MODIFIED
fprintf last modified GNUPLOT_LAST_MODIFIED
#endif
For non-./configure platforms, makefile.os2, .cyg and .mgw can be updated to
gather the date from ChangeLog as on ./configure. Others won't see the
message.
---
PM
|