summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am
blob: 3862c4701557487b291c9feb8db6543c8a412534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DOC_FILES = orchid.tex utf-example.tex

examplesdir = $(docdir)/examples
examples_DATA = $(DOC_FILES)

EXTRA_DIST = $(DOC_FILES) $(check_SCRIPTS)

CLEANFILES = *.log *.aux *.ttex *.pdf

SUFFIXES = .tex .pdf

.tex.pdf: 
	if test "x$(SWATH)" != "xno" ; then \
	  $(SWATH) -f latex < $< > $@.ttex ; \
	elif test "x$(CTTEX)" != "xno" ; then \
	  $(CTTEX) -W < $< > $@.ttex ; \
	else \
	  cp $< $@.ttex ; \
	fi
	$(PDFLATEX) $@.ttex
	$(PDFLATEX) $@.ttex
	mv $@.pdf $@