diff options
Diffstat (limited to 'Master/texmf-dist/source/platex/base/Makefile')
-rw-r--r-- | Master/texmf-dist/source/platex/base/Makefile | 50 |
1 files changed, 32 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/platex/base/Makefile b/Master/texmf-dist/source/platex/base/Makefile index e15431380d9..6a19d0e89d5 100644 --- a/Master/texmf-dist/source/platex/base/Makefile +++ b/Master/texmf-dist/source/platex/base/Makefile @@ -1,15 +1,16 @@ -TARGET1 = platex.ltx jarticle.cls pl209.def platexrelease.sty \ +STRIPTARGET = platex.ltx jarticle.cls pl209.def platexrelease.sty \ nidanfloat.sty tascmac.sty jltxdoc.cls -TARGET2 = platex.pdf platexrelease.pdf pldoc.pdf \ +PDFTARGET = platex.pdf platexrelease.pdf pldoc.pdf \ nidanfloat.pdf ascmac.pdf exppl2e.pdf -TARGET3 = platex.dvi platexrelease.dvi pldoc.dvi \ +DVITARGET = platex.dvi platexrelease.dvi pldoc.dvi \ nidanfloat.dvi ascmac.dvi exppl2e.dvi KANJI = -kanji=jis FONTMAP = -f ipaex.map -f ptex-ipaex.map +TEXMF = $(shell kpsewhich -var-value=TEXMFHOME) -default: $(TARGET1) $(TARGET3) -strip: $(TARGET1) -all: $(TARGET1) $(TARGET2) +default: $(STRIPTARGET) $(DVITARGET) +strip: $(STRIPTARGET) +all: $(STRIPTARGET) $(PDFTARGET) PLFMT = platex.ltx plcore.ltx kinsoku.tex pldefs.ltx \ jy1mc.fd jy1gt.fd jt1mc.fd jt1gt.fd plext.sty \ @@ -134,12 +135,32 @@ ascmac.pdf: ascmac.dvi exppl2e.pdf: exppl2e.dvi dvipdfmx $(FONTMAP) exppl2e.dvi -.PHONY: clean cleanstrip cleanall cleandoc +.PHONY: install clean cleanstrip cleanall cleandoc +install: + mkdir -p ${TEXMF}/doc/platex/base + cp ./LICENSE ${TEXMF}/doc/platex/base/ + cp ./README.md ${TEXMF}/doc/platex/base/ + cp ./*.pdf ${TEXMF}/doc/platex/base/ + cp ./*.txt ${TEXMF}/doc/platex/base/ + mkdir -p ${TEXMF}/source/platex/base + cp ./Makefile ${TEXMF}/source/platex/base/ + cp ./plnews* ${TEXMF}/source/platex/base/ + cp ./*.dtx ${TEXMF}/source/platex/base/ + cp ./*.ins ${TEXMF}/source/platex/base/ + mkdir -p ${TEXMF}/tex/platex/base + cp ./kinsoku.tex ${TEXMF}/tex/platex/base/ + cp ./*.clo ${TEXMF}/tex/platex/base/ + ls ./*.cls | grep -v plnews.cls | xargs -I % cp % ${TEXMF}/tex/platex/base + cp ./*.def ${TEXMF}/tex/platex/base/ + cp ./*.fd ${TEXMF}/tex/platex/base/ + cp ./*.ltx ${TEXMF}/tex/platex/base/ + cp ./*.sty ${TEXMF}/tex/platex/base/ + mkdir -p ${TEXMF}/tex/platex/config + cp ./platex.ini ${TEXMF}/tex/platex/config/ clean: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ $(NIDAN) $(ASCMAC) \ - platex.dvi platexrelease.dvi pldoc.dvi \ - nidanfloat.dvi ascmac.dvi exppl2e.dvi \ + $(DVITARGET) \ jltxdoc.cls pldoc.tex Xins.ins cleanstrip: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ @@ -148,14 +169,7 @@ cleanstrip: cleanall: rm -f $(PLFMT) $(PLCLS) $(PL209) $(PLREL) \ $(NIDAN) $(ASCMAC) \ - platex.dvi platexrelease.dvi pldoc.dvi \ - nidanfloat.dvi ascmac.dvi exppl2e.dvi \ - platex.pdf platexrelease.pdf pldoc.pdf \ - nidanfloat.pdf ascmac.pdf exppl2e.pdf \ + $(DVITARGET) $(PDFTARGET) \ jltxdoc.cls pldoc.tex Xins.ins cleandoc: - rm -f \ - platex.dvi platexrelease.dvi pldoc.dvi \ - nidanfloat.dvi ascmac.dvi exppl2e.dvi \ - platex.pdf platexrelease.pdf pldoc.pdf \ - nidanfloat.pdf ascmac.pdf exppl2e.pdf + rm -f $(DVITARGET) $(PDFTARGET) |