mirror of
https://github.com/jaspervdj/patat.git
synced 2024-11-23 09:06:51 +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)")
|
--date="$(shell git log -1 --format=%cd --date=rfc)")
|
||||||
|
|
||||||
# Prettify the date.
|
# 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
|
extra/patat.1: README.md extra/make-man
|
||||||
SOURCE_DATE="$(SOURCE_DATE)" ./extra/make-man >$@
|
SOURCE_DATE="$(SOURCE_DATE)" ./extra/make-man >$@
|
||||||
|
Loading…
Reference in New Issue
Block a user