summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/hyphenex/GNUmakefile
blob: 3068d73e1e98463adf191b1f1420c0b5dd5b6c23 (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
# 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
	pdftex '\nonstopmode\input $<'

dist: all check
	rm -f dist.zip
	zip dist.zip README GNUmakefile hyphenex.?? tb0hyf.tex tb0hyf.pdf \
	             test.tex ushyphex.tex