doc: Get rid of version.texi
authorWerner Koch <wk@gnupg.org>
Wed, 10 Aug 2016 14:33:20 +0000 (16:33 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 10 Aug 2016 14:33:20 +0000 (16:33 +0200)
commitb7d99e02188b7907b09fec3032fc1fd82fc2668a
tree9e8cfaf41bb0d52d08d9d04167efd69be59a5fb6
parent48691db97b759d67aa7b49c36bb704b5806ade2e
doc: Get rid of version.texi

* configure.ac (CC_FOR_BUILD): New.
* doc/mkdefsinc.c: New.  Taken from GnuPG and modified for gpgme.
* doc/Makefile.am (EXTRA_DIST): Add defsincdate and mkdefsinc.c
(BUILT_SOURCES): new.
(gpgme.texi): New dependency.
(mkdefsinc, defsincdate, defs.inc): New rules.
(dist-hook): New.
* doc/gpgme.texi: Include defs.inc.  Remove version.texi.
--

GnuPG-bug-id: 2352

That new system should also yield more approriate date infos for the
manual.
configure.ac
doc/Makefile.am
doc/gpgme.texi
doc/mkdefsinc.c [new file with mode: 0644]