blob: ca63fbaacce3e64c4dd50ceff0f1bd085197d0c1 (
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
|
DOC_FILES = orchid.tex teststd.tex utf-example.tex
examplesdir = $(docdir)/examples
examples_DATA = $(DOC_FILES)
TESTS = test-orchid.sh test-teststd.sh test-utf.sh
check_SCRIPTS = test-orchid.sh test-teststd.sh test-utf.sh
EXTRA_DIST = $(DOC_FILES) $(check_SCRIPTS)
CLEANFILES = *.log *.aux *.ttex *.dvi *.ps *.pdf
SUFFIXES = .tex .dvi .ps .pdf
.dvi.ps:
$(DVIPS) $< -o $@
.ps.pdf:
$(PS2PDF) $<
.tex.dvi:
if (which $(SWATH) > /dev/null) ; then \
$(SWATH) -f latex < $< > $@.ttex ; \
elif (which $(CTTEX) > /dev/null) ; then \
$(CTTEX) -W < $< > $@.ttex ; \
fi
$(LATEX) $@.ttex
$(LATEX) $@.ttex
mv $@.dvi $@
|