Debian Codegraph @

texmf-dist/source/generic/hyphenex/GNUmakefile

raw
1 # $Id: GNUmakefile 338 2021-01-10 22:49:48Z karl $
2 # Public domain. Originally written by Karl Berry, 2008.
3
4 input_tex = tb0hyf.tex # normally
5 #input_tex = hyfex-test.tex # one-off test file
6
7 all: tb0hyf.pdf ushyphex.tex
8
9 ushyphex.tex: compare
10 cp pl-ushyphex.tex ushyphex.tex # must be identical
11
12 check: compare test.tex
13 tex '\nonstopmode\input test.tex'
14
15 compare: pl-ushyphex.tex sh-ushyphex.tex
16 diff $^
17
18 pl-ushyphex.tex: hyphenex.pl $(input_tex)
19 perl $^ >$@ || rm -f $@
20
21 sh-ushyphex.tex: hyphenex.sh $(input_tex)
22 sh $< <$(input_tex) >$@ || rm -f $@
23
24 tb0hyf.pdf: $(input_tex)
25 TEXINPUTS=../plain: texfot pdftex '\nonstopmode\input $<'
26
27 h = hyphenex
28 dist: all check
29 rm -f dist.zip
30 cd .. && zip $h/$h.zip $h/README $h/GNUmakefile $h/hyphenex.?? \
31 $h/tb0hyf.tex $h/tb0hyf.pdf $h/test.tex $h/ushyphex.tex
32 # CTAN wants upload to be within a directory.