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