summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/uplatex/base/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 22:06:05 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 22:06:05 +0000
commit7fd315978151f63192546999b685d7f534d86b1d (patch)
tree3c52e957cd9a6691b1f5260419d1e43b8c70ea78 /Master/texmf-dist/source/uplatex/base/Makefile
parent8e7cee93b8e73580a81e4d353d4843345b2c2998 (diff)
uplatex (16apr17)
git-svn-id: svn://tug.org/texlive/trunk@43853 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/uplatex/base/Makefile')
-rw-r--r--Master/texmf-dist/source/uplatex/base/Makefile43
1 files changed, 30 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/uplatex/base/Makefile b/Master/texmf-dist/source/uplatex/base/Makefile
index b4d05398d56..d6ea4ce48a9 100644
--- a/Master/texmf-dist/source/uplatex/base/Makefile
+++ b/Master/texmf-dist/source/uplatex/base/Makefile
@@ -1,12 +1,13 @@
-TARGET1 = uplatex.ltx ujarticle.cls
-TARGET2 = uplatex.pdf upldoc.pdf
-TARGET3 = uplatex.dvi upldoc.dvi
+STRIPTARGET = uplatex.ltx ujarticle.cls
+PDFTARGET = uplatex.pdf upldoc.pdf
+DVITARGET = uplatex.dvi upldoc.dvi
KANJI = -kanji=utf8
FONTMAP = -f ipaex.map -f uptex-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 = uplatex.ltx uplcore.ltx ukinsoku.tex upldefs.ltx \
jy2mc.fd jy2gt.fd jt2mc.fd jt2gt.fd uptrace.sty
@@ -58,20 +59,36 @@ uplatex.pdf: uplatex.dvi
upldoc.pdf: upldoc.dvi
dvipdfmx $(FONTMAP) upldoc.dvi
-.PHONY: clean cleanstrip cleanall cleandoc
+.PHONY: install clean cleanstrip cleanall cleandoc
+install:
+ mkdir -p ${TEXMF}/doc/uplatex/base
+ cp ./LICENSE ${TEXMF}/doc/uplatex/base/
+ cp ./README.md ${TEXMF}/doc/uplatex/base/
+ cp ./*.pdf ${TEXMF}/doc/uplatex/base/
+ cp ./*.txt ${TEXMF}/doc/uplatex/base/
+ mkdir -p ${TEXMF}/source/uplatex/base
+ cp ./Makefile ${TEXMF}/source/uplatex/base/
+ cp ./*.dtx ${TEXMF}/source/uplatex/base/
+ cp ./*.ins ${TEXMF}/source/uplatex/base/
+ mkdir -p ${TEXMF}/tex/uplatex/base
+ cp ./ukinsoku.tex ${TEXMF}/tex/uplatex/base/
+ cp ./*.clo ${TEXMF}/tex/uplatex/base/
+ cp ./*.cls ${TEXMF}/tex/uplatex/base/
+ cp ./*.fd ${TEXMF}/tex/uplatex/base/
+ cp ./*.ltx ${TEXMF}/tex/uplatex/base/
+ cp ./*.sty ${TEXMF}/tex/uplatex/base/
+ mkdir -p ${TEXMF}/tex/uplatex/config
+ cp ./uplatex.ini ${TEXMF}/tex/uplatex/config/
clean:
rm -f $(PLFMT) $(PLCLS) \
- uplatex.dvi upldoc.dvi \
+ $(DVITARGET) \
upldoc.tex Xins.ins
cleanstrip:
rm -f $(PLFMT) $(PLCLS) \
upldoc.tex Xins.ins
cleanall:
rm -f $(PLFMT) $(PLCLS) \
- uplatex.dvi upldoc.dvi \
- uplatex.pdf upldoc.pdf \
+ $(DVITARGET) $(PDFTARGET) \
upldoc.tex Xins.ins
cleandoc:
- rm -f \
- uplatex.dvi upldoc.dvi \
- uplatex.pdf upldoc.pdf
+ rm -f $(DVITARGET) $(PDFTARGET)