summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thailatex/babel/Makefile.am
blob: b7140bcaea154ea91ee876aac0a28c31e479dc8d (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
BABEL_COMMON = thswitch.sty lthenc.def tis620.def

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/$(PACKAGE)
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
	rm -f thai.ldf
	$(LATEX) thai.ins

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