mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
parser: merge fix from intrigeri to techdoc timestamp generator to
ensure reproducible builds across timezone variations.
This commit is contained in:
commit
257bc75aa1
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ po/${NAME}.pot: ${SRCS} ${HDRS}
|
|||
$(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${SRCS} ${HDRS}"
|
||||
|
||||
techdoc.pdf: techdoc.tex
|
||||
timestamp=$(shell date "+%Y%m%d%H%M%S+02'00'" -r $< );\
|
||||
timestamp=$(shell date --utc "+%Y%m%d%H%M%S%z" -r $< );\
|
||||
while pdflatex "\def\fixedpdfdate{$$timestamp}\input $<" ${BUILD_OUTPUT} || exit 1 ; \
|
||||
grep -q "Label(s) may have changed" techdoc.log; \
|
||||
do :; done
|
||||
|
|
Loading…
Add table
Reference in a new issue