docs: set date to SOURCE_DATE_EPOCH if available
authorMaximilian Engelhardt <maxi@daemonizer.de>
Fri, 18 Dec 2020 20:42:35 +0000 (21:42 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Mon, 13 Sep 2021 09:51:21 +0000 (11:51 +0200)
commitb939bd05801ba09a017d6cea919bec0a7b5b3020
tree4b6ff8bafba9ffe561c4ca2fdd9aacdec325c192
parent046c4c5ab792762ab8b72849b480b08e3a4498cd
docs: set date to SOURCE_DATE_EPOCH if available

Use the solution described in [1] to replace the call to the 'date'
command with a version that uses SOURCE_DATE_EPOCH if available. This
is needed for reproducible builds.

[1] https://reproducible-builds.org/docs/source-date-epoch/

Signed-off-by: Maximilian Engelhardt <maxi@daemonizer.de>
[Hans van Kranenburg]
Note: this patch is submitted upstream but not committed yet. We
expect that it gets in. Otherwise, we don't wait and already have it
here because I want to have the reproducible build work completed.
docs/Makefile