summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
blob: 6f45b14cac8eac0bee477e344e5dc45f14230894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $Id: Makefile 772 2017-03-16 22:58:04Z karl $
# Public domain.

include ../Common.mak

default: test-normal test-omit-mediabox

test-normal:
	$(prog) test-normal.tex
	grep -q /MediaBox.*314 test-normal.pdf 

test-omit-mediabox:
	$(prog) test-omit-mediabox.tex
	grep -q /MediaBox.*271 test-omit-mediabox.pdf   # should be there
	! grep -q /MediaBox.*314 test-omit-mediabox.pdf # should not

clean:
	$(clean)