diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-03 21:38:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-03 21:38:46 +0000 |
commit | 1c88174cd5df6c984f2846dee6a830522ccc9fbd (patch) | |
tree | 4b2812f51d1613d1119d968691257d17b4da9e87 /Master/texmf-dist/source | |
parent | 4ae4ac1395c32920abe3434b2601bd54066707b1 (diff) |
ptex-manual (3apr19)
git-svn-id: svn://tug.org/texlive/trunk@50733 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/ptex-manual/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/ptex-manual/Makefile b/Master/texmf-dist/source/latex/ptex-manual/Makefile new file mode 100644 index 00000000000..741f177a313 --- /dev/null +++ b/Master/texmf-dist/source/latex/ptex-manual/Makefile @@ -0,0 +1,50 @@ +DOCTARGET = ptex-manual eptexdoc jfm +# following documents are not maintained anymore; +# even some descriptions might be different from +# current status of pTeX +# jtex_asciimw jtexdoc_asciimw +# ptexdoc_asciimw ptexskip_asciimw +# eptex_resume +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) + +ptex-manual.dvi: ptex-manual.tex + platex $(KANJI) ptex-manual.tex + platex $(KANJI) ptex-manual.tex +# makeindex -s gind.ist -o ptex-manual.ind ptex-manual.idx + mendex -U -s gind.ist -o ptex-manual.ind ptex-manual.idx + platex $(KANJI) ptex-manual.tex + rm -f *.aux *.log *.toc *.idx *.ind *.ilg *.out + +eptexdoc.dvi: eptexdoc.tex fam256p.tex fam256d.tex + platex $(KANJI) eptexdoc.tex + platex $(KANJI) eptexdoc.tex + mendex -U -s gind.ist eptexdoc.idx + platex $(KANJI) eptexdoc.tex + rm -f *.aux *.log *.toc *.idx *.ind *.ilg *.out + +.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/ptex/ptex-manual + cp ./LICENSE ${TEXMF}/doc/ptex/ptex-manual/ + cp ./README* ${TEXMF}/doc/ptex/ptex-manual/ + cp ./Makefile ${TEXMF}/doc/ptex/ptex-manual/ + cp ./*.tex ${TEXMF}/doc/ptex/ptex-manual/ + cp ./*.pdf ${TEXMF}/doc/ptex/ptex-manual/ +clean: + rm -f $(DVITARGET) $(PDFTARGET) |