diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/mendex-doc/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/mendex-doc/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/mendex-doc/Makefile b/Master/texmf-dist/source/latex/mendex-doc/Makefile new file mode 100644 index 00000000000..205ea0ea323 --- /dev/null +++ b/Master/texmf-dist/source/latex/mendex-doc/Makefile @@ -0,0 +1,29 @@ +DOCTARGET = mendex +PDFTARGET = $(addsuffix .pdf,$(DOCTARGET)) +DVITARGET = $(addsuffix .dvi,$(DOCTARGET)) +KANJI = -kanji=utf8 +FONTMAP = -f ipaex.map -f ptex-ipaex.map +TEXMF = $(shell kpsewhich -var-value=TEXMFHOME) + +default: $(DVITARGET) +all: $(PDFTARGET) + +.SUFFIXES: .tex .dvi .pdf +.tex.dvi: + platex $(KANJI) $< + platex $(KANJI) $< + platex $(KANJI) $< + rm -f *.aux *.log *.toc +.dvi.pdf: + dvipdfmx $(FONTMAP) $< + +.PHONY: install clean +install: + mkdir -p ${TEXMF}/doc/support/mendex + cp ./LICENSE ${TEXMF}/doc/support/mendex/ + cp ./README* ${TEXMF}/doc/support/mendex/ + cp ./Makefile ${TEXMF}/doc/support/mendex/ + cp ./*.tex ${TEXMF}/doc/support/mendex/ + cp ./*.pdf ${TEXMF}/doc/support/mendex/ +clean: + rm -f $(DVITARGET) $(PDFTARGET) |