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 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am new file mode 100644 index 00000000000..ca63fbaacce --- /dev/null +++ b/Master/texmf-dist/source/latex/thailatex/doc/Makefile.am @@ -0,0 +1,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 $@ + |