summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile')
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile b/Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
new file mode 100644
index 00000000000..6f45b14cac8
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
@@ -0,0 +1,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)