| 1 |
# $Id: Makefile 772 2017-03-16 22:58:04Z karl $ |
| 2 |
# Public domain. |
| 3 |
|
| 4 |
include ../Common.mak |
| 5 |
|
| 6 |
all: abc-diff testptex-diff testdate-diff testtrailer-diff |
| 7 |
|
| 8 |
abc abc.pdf: |
| 9 |
$(env) $(prog) '\pdfsuppressptexinfo=1\input' abc.tex </dev/null |
| 10 |
|
| 11 |
abc-orig.pdf: |
| 12 |
$(env) $(prog) abc.tex </dev/null && mv abc.pdf $@ |
| 13 |
abc-diff: abc-orig.pdf abc.pdf |
| 14 |
-$(diff) $^ # /PTEX.Fullbanner should be gone |
| 15 |
|
| 16 |
testptex = test-pdfsuppressptexinfo |
| 17 |
$(testptex)-orig.pdf: $(testptex).tex abc.pdf |
| 18 |
$(env) $(prog) $(testptex).tex </dev/null \ |
| 19 |
&& mv $(testptex).pdf $(testptex)-orig.pdf |
| 20 |
$(testptex).pdf: $(testptex).tex abc.pdf Makefile |
| 21 |
$(env) $(prog) '\pdfsuppressptexinfo=-1\input' $(testptex).tex \ |
| 22 |
</dev/null |
| 23 |
testptex-diff: $(testptex)-orig.pdf $(testptex).pdf |
| 24 |
-$(diff) $^ # all /PTEX.* should be gone |
| 25 |
|
| 26 |
# these are also tested in ../03-deterministic-output, but can try them here. |
| 27 |
testdate = test-pdfinfoomitdate |
| 28 |
$(testdate).pdf: $(testdate).tex abc.pdf |
| 29 |
$(env) $(prog) $(testdate).tex </dev/null |
| 30 |
testdate-diff: $(testptex)-orig.pdf $(testdate).pdf |
| 31 |
-$(diff) $^ # /CreationDate, /ModDate should be gone |
| 32 |
|
| 33 |
testtrailer = test-pdftrailer |
| 34 |
$(testtrailer).pdf: $(testtrailer).tex abc.pdf |
| 35 |
$(env) $(prog) $(testtrailer).tex </dev/null |
| 36 |
testtrailer-diff: $(testptex)-orig.pdf $(testtrailer).pdf |
| 37 |
-$(diff) $^ # new /mytrlrkey, dates+id should be different |
| 38 |
|
| 39 |
clean: |
| 40 |
$(clean) |