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