summaryrefslogtreecommitdiff
path: root/systems/doc/pdftex/tests/11-omitcharset/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'systems/doc/pdftex/tests/11-omitcharset/Makefile')
-rw-r--r--systems/doc/pdftex/tests/11-omitcharset/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/systems/doc/pdftex/tests/11-omitcharset/Makefile b/systems/doc/pdftex/tests/11-omitcharset/Makefile
new file mode 100644
index 0000000000..a8add64902
--- /dev/null
+++ b/systems/doc/pdftex/tests/11-omitcharset/Makefile
@@ -0,0 +1,18 @@
+# $Id: Makefile 813 2019-01-28 00:04:18Z karl $
+# Public domain.
+
+include ../Common.mak
+
+default: test-omitcharset
+
+test-omitcharset:
+ # by default, CharSet is included.
+ $(prog) test-omitcharset.tex
+ grep "/CharSet" test-omitcharset.pdf >/dev/null
+ #
+ # force CharSet to be omitted.
+ $(prog) '\pdfomitcharset=1 \input test-omitcharset.tex'
+ ! grep "/CharSet" test-omitcharset.pdf >/dev/null
+
+clean:
+ $(clean)