texmf-dist/doc/pdftex/tests/11-omitcharset/Makefile
raw| 1 | # $Id: Makefile 813 2019-01-28 00:04:18Z karl $ |
| 2 | # Public domain. |
| 3 | |
| 4 | include ../Common.mak |
| 5 | |
| 6 | default: test-omitcharset |
| 7 | |
| 8 | test-omitcharset: |
| 9 | # by default, CharSet is included. |
| 10 | $(prog) test-omitcharset.tex |
| 11 | grep "/CharSet" test-omitcharset.pdf >/dev/null |
| 12 | # |
| 13 | # force CharSet to be omitted. |
| 14 | $(prog) '\pdfomitcharset=1 \input test-omitcharset.tex' |
| 15 | ! grep "/CharSet" test-omitcharset.pdf >/dev/null |
| 16 | |
| 17 | clean: |
| 18 | $(clean) |