Merge remote-tracking branch 'rudi/bld/git-version-gen'

# By Ruediger Meier
# Via Ruediger Meier
* rudi/bld/git-version-gen:
  bldchn, truf-test links against libtruffle.a
  bldchn, man pages depend on VERSION
  bldchn, gengetopt files are using version.h
  build version_defs.h and version.o
  bldchn, generate version.mk at configure and make time
  import git-version-gen, etc. from twstools v0.4.0-50-g4b14b27
  bldchn, never use AC_INIT's version info
fix, allow leap day in schema lines if restriction is entirely in a leap year

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, outsource common daisy related funs to daisy.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, migrate trod.c and schema.c to using daisy.c funs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
revert, allow leap day in schema lines if restriction is entirely in a leap year

Instead we always allow the 29 Feb to be specified but in years with no leap days this will
be mapped to the 28 Feb.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'fix/leap-years' into next

* fix/leap-years:
  revert, allow leap day in schema lines if restriction is entirely in a leap year
  minor, migrate trod.c and schema.c to using daisy.c funs
  minor, outsource common daisy related funs to daisy.c
  fix, allow leap day in schema lines if restriction is entirely in a leap year
minor, provide regression test for leap year bug

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'test/leap-years' into next

* test/leap-years:
  minor, provide regression test for leap year bug
Merge branch 'next'

* next:
  minor, provide regression test for leap year bug
  revert, allow leap day in schema lines if restriction is entirely in a leap year
  minor, migrate trod.c and schema.c to using daisy.c funs
  minor, outsource common daisy related funs to daisy.c
  fix, allow leap day in schema lines if restriction is entirely in a leap year
bldchn, generate version.c instead of version_defs.h

Generated headers have to be in BUILT_SOURCES but it's always good if you
can avoid BUILT_SOURCES, see automake manual.
Moreover like in most of our other projects we have
EXTRA_DIST += $(BUILT_SOURCES), but version_defs.h should not be
distributed.
rename git_version_string to $(PACKAGE)_version_string