HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/texlive/texmf-dist/doc/pdftex/tests/10-moddate/Makefile
# $Id: Makefile 808 2018-11-13 18:39:00Z karl $
# Public domain.

include ../Common.mak

default: test-moddate test-moddate-abs

test-moddate:
	# regular
	$(prog) test-moddate.tex
	grep "D:2[0-9].*-.*'" test-moddate.log >/dev/null
	#
	# just one envvar, still regular.
	SOURCE_DATE_EPOCH=1 $(prog) test-moddate.tex
	grep "D:2[0-9].*-.*'" test-moddate.log >/dev/null
	#
	# both envvars, force utc.
	FORCE_SOURCE_DATE=1 SOURCE_DATE_EPOCH=1 $(prog) test-moddate.tex
	grep "D:2[0-9].*Z " test-moddate.log >/dev/null

test-moddate-abs:
	# should fail due to openin_any.
	openin_any=p $(prog) test-moddate-abs.tex
	! grep "D:2[0-9]" test-moddate-abs.log >/dev/null

clean:
	$(clean)