Regenerate build date and time every time tinc is built.
authorEtienne Dechamps <etienne@edechamps.fr>
Sun, 29 Jun 2014 13:57:42 +0000 (14:57 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sun, 29 Jun 2014 15:48:57 +0000 (16:48 +0100)
commitaec82bb1c94af6d3142cdef0c51f42f38e9be3e0
tree3f7e0bad39cc535e5e1e611fa472fc7ba1885610
parent116f2ed27a74982e4d1a19b7a8fd08b0aaee1f8d
Regenerate build date and time every time tinc is built.

This prevents the date and time shown in version information from
getting stale because of partial builds. With these changes, date and
time information is written to a dedicated object file that gets rebuilt
every time make is run, even if there are no changes.
src/Makefile.am
src/process.c
src/tincctl.c
src/tincd.c
src/version.c [new file with mode: 0644]
src/version.h [new file with mode: 0644]