waf, git, EPOCH, version strings, ...
Hal Murray
hmurray at megapathdsl.net
Wed May 24 08:00:05 UTC 2017
>> Only that the version and EPOCH stuff are currently tangled up with
>> configure and I think we want to disconnect that.
> I don't see how that can be done.
One way is to run a script that makes a header file with version and EPOCH
info. I'm not enough of a waf wizard to be able to do it without some
research, but somebody already makes ntpd/version.h so I'm pretty sure I
could do it with enough work.
-------
The other way would be to get -DEPOCH=xx on the build line for ntpd.o
> Yes. Did you check waf -h?
> # ./waf -h
> [...]
> NTP developer configure options:
> [...]
> --build-epoch=3DBUILD_EPOCH
> Force epoch, or use SOURCE_DATE_EPOCH in environment
That's putting something into config.h
I want to put it on the cc line that compiles ntpd.c
> Except BUILD_EPOCH is not in ntpd.o.
Right. It's in config.h That's what we have to fix if we want to get decent
version strings.
--
These are my opinions. I hate spam.
More information about the devel
mailing list