mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Improve reproducible builds.
Use a SOURCE_DATA_EPOCH friendly date. Suggested by @fasterit in #476.
This commit is contained in:
parent
fa1b5d1e2e
commit
c37be409a9
@ -4,7 +4,8 @@
|
||||
AC_PREREQ(2.65)
|
||||
AC_INIT([htop],[2.0.1],[hisham@gobolinux.org])
|
||||
|
||||
year=$(date +%Y)
|
||||
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
|
||||
year=$(date -u -d "@$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u "+%Y")
|
||||
|
||||
# The following two lines are required by hwloc scripts
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
Loading…
Reference in New Issue
Block a user