Debian Codegraph @

texmf-dist/doc/pdftex/tests/22-showstream/Makefile

raw
1 # $Id: Makefile 873 2021-11-09 16:13:48Z karl $
2 # Public domain.
3 # Test \showstream.
4
5 include ../Common.mak
6
7 default: test-showstream
8
9 test-showstream: test-showstream-basic test-showstream-only
10
11 # bad return status since normal \show's happen.
12 test-showstream-basic: test-showstream-basic.tex
13 ! $(prog) $<
14 $(MAKE) xray=test-showstream-basic.xray grep-xray
15
16 # good return status since only showstream.
17 test-showstream-only: test-showstream-only.tex
18 $(prog) $<
19 $(MAKE) xray=test-showstream-only.xray grep-xray
20
21 # the .xray files have the same contents in both contents
22 grep-xray:
23 grep 42 $(xray) >/dev/null
24 grep '\\undefined=undefined' $(xray) >/dev/null
25 grep '\\par=\\par' $(xray) >/dev/null
26
27 clean:
28 $(clean)