blob: e0bfa12bdc1a3938b368366bafab46cc4af15cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
TARGET1 = uplatex.ltx ujarticle.cls
TARGET2 = uplatex.pdf upldoc.pdf
FONTMAP = -f ipaex.map -f uptex-ipaex.map
all: $(TARGET1) $(TARGET2)
PLFMT = uplatex.ltx uplcore.ltx ukinsoku.tex upldefs.ltx \
jy2mc.fd jy2gt.fd jt2mc.fd jt2gt.fd uptrace.sty
PLFMT_SRC = uplatex.dtx uplvers.dtx uplfonts.dtx plcore.dtx \
ukinsoku.dtx
PLCLS = ujarticle.cls ujreport.cls ujbook.cls ujsize10.clo \
ujsize11.clo ujsize12.clo ujbk10.clo ujbk11.clo ujbk12.clo \
utarticle.cls utreport.cls utbook.cls utsize10.clo \
utsize11.clo utsize12.clo utbk10.clo utbk11.clo utbk12.clo
PLCLS_SRC = ujclasses.dtx
INTRODOC_SRC = uplatex.dtx
PLDOC_SRC = uplatex.dtx uplvers.dtx uplfonts.dtx \
ukinsoku.dtx ujclasses.dtx
uplatex.ltx: $(PLFMT_SRC)
uplatex --kanji=utf8 uplfmt.ins
rm uplfmt.log
ujarticle.cls: $(PLCLS_SRC)
uplatex --kanji=utf8 uplcls.ins
rm uplcls.log
uplatex.pdf: $(INTRODOC_SRC)
uplatex --kanji=utf8 uplatex.dtx && \
uplatex --kanji=utf8 uplatex.dtx && \
dvipdfmx $(FONTMAP) uplatex.dvi
rm uplatex.aux uplatex.log uplatex.dvi
upldoc.pdf: $(PLDOC_SRC)
for x in upldoc.tex Xins.ins; do \
if [ -e $$x ]; then rm $$x; fi \
done
uplatex --kanji=utf8 upldocs.ins && \
uplatex --kanji=utf8 Xins.ins && sh mkpldoc.sh && \
dvipdfmx $(FONTMAP) upldoc.dvi
rm *.aux *.log upldoc.toc upldoc.idx upldoc.ind upldoc.ilg
rm upldoc.glo upldoc.gls *.dvi upldoc.tex Xins.ins
rm *.cfg upldoc.dic mkpldoc.sh dstcheck.pl
.PHONY: clean
clean:
for x in $(PLFMT) $(PLCLS) \
uplatex.pdf upldoc.pdf \
upldoc.tex Xins.ins; do \
if [ -e $$x ]; then rm $$x; fi \
done
|