diff options
author | Bernhard M. Wiedemann <githubbmw@lsmod.de> | 2020-01-27 11:49:17 +0100 |
---|---|---|
committer | Eric Curtin <ericcurtin17@gmail.com> | 2020-01-27 10:49:17 +0000 |
commit | 8aa8b209fdaab316bb6358accededa27c0b553fc (patch) | |
tree | 613fb90c867b7f10a88d8dcc51ae710b37528e1c | |
parent | ec484ca33b32fcd8289797539a78995f41853c2a (diff) | |
download | inotify-tools-8aa8b209fdaab316bb6358accededa27c0b553fc.zip inotify-tools-8aa8b209fdaab316bb6358accededa27c0b553fc.tar.gz inotify-tools-8aa8b209fdaab316bb6358accededa27c0b553fc.tar.bz2 |
Use ChangeLog date instead of build date (#97)
* Use ChangeLog date instead of build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
Also use ISO-8601 date format to be readable worldwide.
This date call works with GNU date and FreeBSD date.
* Keep date format as is '%B %d, %Y'
Co-authored-by: Eric Curtin <ericcurtin17@gmail.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c2f98f9..cb668fa 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,7 @@ AC_C_INLINE AC_CHECK_FUNCS([daemon]) # Set variables used in man page templates -MAN_DATE=$(date +'%B %d, %Y') +MAN_DATE=$(date -u -r ChangeLog +'%B %d, %Y') MAN_PACKAGE_VERSION=$PACKAGE_VERSION AC_SUBST([MAN_DATE]) AC_SUBST([MAN_PACKAGE_VERSION]) |