mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-10-05 17:47:29 +03:00
add SOURCE_DATE_EPOCH to Makefile to fix copyright year (#800)
* add SOURCE_DATE_EPOCH to Makefile to fix copyright year * use date to get unix time in place of git log * Update Makefile pass in --date='Jan 1' to date as suggested Co-authored-by: Silvan Mosberger <github@infinisil.com> --------- Co-authored-by: Silvan Mosberger <github@infinisil.com>
This commit is contained in:
parent
d135cab53f
commit
5e16a993ba
2
Makefile
2
Makefile
@ -13,6 +13,8 @@ PAPEROPT_letter = -D latex_paper_size=letter
|
||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||
# the i18n builder cannot share the environment and doctrees with the others
|
||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||
# Explicitly set SOURCE_DATE_EPOCH for Sphinx copyright
|
||||
SOURCE_DATE_EPOCH = $(shell date +%s --date='Jan 1')
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
|
Loading…
Reference in New Issue
Block a user