]> git.ipfire.org Git - thirdparty/suricata.git/commit
docs/userguide: use a consistent date for reproducible builds
authorJason Ish <jason.ish@oisf.net>
Mon, 1 Apr 2024 16:35:39 +0000 (10:35 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 9 Apr 2024 17:29:32 +0000 (19:29 +0200)
commit363ca13a9c583ee4b150e5c9ebb8e8d3b8570861
treefd074dc3cf060419e3f001ac3303f89a643f8da5
parente6dd68ffbbe7d1935c0e70694cbd3ca1c016718f
docs/userguide: use a consistent date for reproducible builds

By default, when Sphinx generates the man pages, the current date will
be embedded in them. This can be set to a specific date with the
"today" variable. Typically the date embedded in manpages in the
release date.

To achieve this, attempt to use the environment variable, RELEASE_DATE
to set the "today" variable, reverting back to the empty string if not
set. It is up to our build system to properly set this date.

Ticket: #6911
(cherry picked from commit 51bf1c35103261d075a283d103371a2d9a8a76f7)
doc/userguide/Makefile.am
doc/userguide/conf.py