diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/thailatex/doc/Makefile.am')
-rw-r--r-- | Master/texmf-dist/source/latex/thailatex/doc/Makefile.am | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am index ca63fbaacce..3862c470155 100644 --- a/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am +++ b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am @@ -1,31 +1,23 @@ -DOC_FILES = orchid.tex teststd.tex utf-example.tex +DOC_FILES = orchid.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 $@ +CLEANFILES = *.log *.aux *.ttex *.pdf -.ps.pdf: - $(PS2PDF) $< +SUFFIXES = .tex .pdf -.tex.dvi: - if (which $(SWATH) > /dev/null) ; then \ +.tex.pdf: + if test "x$(SWATH)" != "xno" ; then \ $(SWATH) -f latex < $< > $@.ttex ; \ - elif (which $(CTTEX) > /dev/null) ; then \ + elif test "x$(CTTEX)" != "xno" ; then \ $(CTTEX) -W < $< > $@.ttex ; \ + else \ + cp $< $@.ttex ; \ fi - $(LATEX) $@.ttex - $(LATEX) $@.ttex - mv $@.dvi $@ + $(PDFLATEX) $@.ttex + $(PDFLATEX) $@.ttex + mv $@.pdf $@ |