summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile')
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile b/Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile
index cbf7ee13b25..1e0e72aea9c 100644
--- a/Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile
+++ b/Master/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile 740 2016-04-23 15:08:37Z karl $
+# $Id: Makefile 751 2016-05-04 22:57:38Z karl $
# Public domain.
include ../Common.mak
@@ -9,6 +9,10 @@ test1:
test2:
$(prog) test-fixed-date-id.tex
+testprim:
+ SOURCE_DATE_EPOCH=120 SOURCE_DATE_EPOCH_TEX_PRIMITIVES=1 \
+ $(prog) test-prim.tex
+
test = test-SOURCE_DATE_EPOCH
# test invalid settings of the envvar.
test3-invalid:
@@ -27,17 +31,18 @@ test3-valid: test3-orig.pdf test3-repro.pdf
SOURCE_DATE_EPOCH=0 $(prog) $(test).tex
SOURCE_DATE_EPOCH="" $(prog) $(test).tex # same as 0
-$(diff) $< $(test).pdf # shows differences
- SOURCE_DATE_EPOCH=10 $(prog) $(test).tex
+ SOURCE_DATE_EPOCH=11 $(prog) $(test).tex
$(diff) test3-repro.pdf $(test).pdf # should be identical
# SOURCE_DATE_EPOCH=1439928155 $(prog) $(test).tex
# make an original with nonzero time for checking.
-test3-repro.pdf:
- SOURCE_DATE_EPOCH=10 $(prog) $(test).tex && mv $(test).pdf $@
+test3-repro.pdf: force
+ SOURCE_DATE_EPOCH=11 $(prog) $(test).tex && mv $(test).pdf $@
+force:
clean:
rm -f *.log *.pdf *.fmt *.aux
fmt:
- $(prog) *pdflatex.ini
- $(prog) *pdfetex.ini
+ $(prog) \*pdflatex.ini
+ $(prog) \*pdfetex.ini