summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thailatex/babel/Makefile.am
blob: 8aa92d3523a7f58b1c4f4aa2aa385c6805fed3cb (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
29
30
31
32
33
34
BABEL_COMMON = thai.sty thswitch.sty lthenc.def \
	lthkinnari.fd lthgaruda.fd lthnorasi.fd \
	lthttype.fd lthttypist.fd \
	lthpurisa.fd lthloma.fd \
	lthwaree.fd lthumpush.fd \
	lthsawasdee.fd

BABEL_SRC = thai.dtx thai.ins $(BABEL_COMMON)
BABEL_INS = thai.ldf $(BABEL_COMMON)
BABEL_DOCS = thai.pdf

EXTRA_DIST = $(BABEL_SRC)
CLEANFILES = thai.log thai.aux thai.ldf thai.pdf

babeldir = $(texmfdir)/tex/generic/babel
babel_DATA = $(BABEL_INS)

doc_DATA = $(BABEL_DOCS)

thai.ldf: thai.ins thai.dtx
	if [ ! -f thai.ins ]; then \
	  $(LN_S) $(srcdir)/thai.ins thai.ins; \
	fi
	if [ ! -f thai.dtx ]; then \
	  $(LN_S) $(srcdir)/thai.dtx thai.dtx; \
	fi
	latex thai.ins

thai.pdf: thai.dtx
	if [ ! -f thai.dtx ]; then \
	  $(LN_S) $(srcdir)/thai.dtx thai.dtx; \
	fi
	pdflatex thai.dtx