mirror of
https://github.com/jaspervdj/patat.git
synced 2024-11-23 00:09:05 +03:00
make build reproducible with variation of TZ
This commit is contained in:
parent
f68a137f59
commit
e14d44bd4c
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ SOURCE_DATE_EPOCH?=$(shell date '+%s' \
|
||||
--date="$(shell git log -1 --format=%cd --date=rfc)")
|
||||
|
||||
# Prettify the date.
|
||||
SOURCE_DATE=$(shell env LC_ALL=C date '+%B %d, %Y' -d "@${SOURCE_DATE_EPOCH}")
|
||||
SOURCE_DATE=$(shell env LC_ALL=C TZ=UTC date '+%B %d, %Y' -d "@${SOURCE_DATE_EPOCH}")
|
||||
|
||||
extra/patat.1: README.md extra/make-man
|
||||
SOURCE_DATE="$(SOURCE_DATE)" ./extra/make-man >$@
|
||||
|
Loading…
Reference in New Issue
Block a user