texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
raw| 1 | # $Id: Makefile 772 2017-03-16 22:58:04Z karl $ |
| 2 | # Public domain. |
| 3 | |
| 4 | include ../Common.mak |
| 5 | |
| 6 | default: test-normal test-omit-mediabox |
| 7 | |
| 8 | test-normal: |
| 9 | $(prog) test-normal.tex |
| 10 | grep -q /MediaBox.*314 test-normal.pdf |
| 11 | |
| 12 | test-omit-mediabox: |
| 13 | $(prog) test-omit-mediabox.tex |
| 14 | grep -q /MediaBox.*271 test-omit-mediabox.pdf # should be there |
| 15 | ! grep -q /MediaBox.*314 test-omit-mediabox.pdf # should not |
| 16 | |
| 17 | clean: |
| 18 | $(clean) |