annotate Paper/Makefile @ 21:a323397febf4

fix o2tex
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 26 Nov 2012 19:39:39 +0900
parents def2005a5525
children 1b513be6fbab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1 DEPENDENCY = alice.ind images/put.pdf images/update.pdf images/peek.pdf images/peek1.pdf images/take.pdf images/ring.pdf
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
2
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
3 DEPENDOHP = ohp.tex images/put.pdf images/update.pdf images/peek.pdf images/peek1.pdf images/take.pdf images/ring.pdf
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
4
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
5
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
6
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
9
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
10
17
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
12
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
13
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
14
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
15
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
16
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
17
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
18
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
19
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
20
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
21
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
22
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
23
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
25
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
26
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
27
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
28
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
29
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
30
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
31
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
32
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
33
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
34
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
35
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
36
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
37
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
38
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
39
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
40
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
41
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 11
diff changeset
42
19
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 17
diff changeset
43
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 17
diff changeset
44
21
a323397febf4 fix o2tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
45
a323397febf4 fix o2tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
46
a323397febf4 fix o2tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
47
a323397febf4 fix o2tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 19
diff changeset
48
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
49 PAPER = alice.ind
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
50
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
51
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
52 PRINTER = ab
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
53 OHP = ohp
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
54 MAIN = sugi-prosym
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
55 COVER = trcover
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
56 LATEX = platex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
57 SLITEX = jslitex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
58 BIBTEX = jbibtex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
59 AWK = awk
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
60 SED = sed
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
61 DVI2PS = dvi2ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
62 DVIPDF = dvipdfmx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
63 R =
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
64 PRINTER =
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
65
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
66 .SUFFIXES: .c .d .tokio .x .xfig .fig .tex .dvi .print .lw .next .ps .gs .xdvi .pdf
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
67
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
68 .d.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
69 tgrind -F -ldb $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
70 .c.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
71 tgrind -F -lC $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
72 .tokio.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
73 tgrind -F -ltokio $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
74 .fig.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
75 f2tpic $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
76 .xfig.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
77 f2tpic $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
78 .fig.ps:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
79 f2ps1 $< >$@
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
80 .x.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
81 x2tpic $<
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
82 -rm -f $*.pic
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
83 .tex.dvi:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
84 jlatex $<
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
85 .dvi.print:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
86 $(DVI2PS) $(R) $< | lpr -P$(PRINTER)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
87 # lpr $(PRINTER) -d $<
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
88 .dvi.lw:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
89 $(DVI2PS) $(R) $< | lpr -P$(PRINTER)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
90 .dvi.next:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
91 dviNeXT $<
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
92 .dvi.xdvi:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
93 (exec xdvi $< & )
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
94 .dvi.ps:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
95 -$(DVI2PS) $(R) $< > $*.ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
96 .ps.gs:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
97 gs $*.ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
98 .dvi.pdf:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
99 -$(DVIPDF) $(R) $<
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
100
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
101
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
102 all:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
103 -rm -f $(MAIN).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
104 make $(MAIN).pdf
4
88a77b2c92ea add makefile
e095732 <e095732@ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
106 print: $(MAIN).print
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
107 lw: $(MAIN).lw
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
108 next: $(MAIN).next
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
109 gs: $(MAIN).gs
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
110 $(MAIN).gs : $(MAIN).ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
111 $(MAIN).ps : $(MAIN).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
112 $(OHP).gs : $(OHP).ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
113 $(OHP).ps : $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
114 xdvi: $(MAIN).xdvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
115 dvips: $(MAIN).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
116 dvips $(MAIN).dvi -o $(MAIN).ps
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
117
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
118 $(MAIN).dvi: 1.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
119 $(LATEX) $(MAIN)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
120
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
121 jsss.dvi: jsss.tex 1.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
122 $(LATEX) jsss.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
123
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
124 wc:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
125 $(SED) -e '/\\special{/d' $(PAPER) | delatex | wc
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
126 uu:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
127 tar cBf - $(MAIN).[tab]* [0-9]*.tex $(DEPENDENCY) \
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
128 title.tex abstract.tex ohp.tex \
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
129 Makefile | gzip | uuencode $(PAPER).tar.gz > uu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
130
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
131
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
132 bbl: $(MAIN).bbl
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
133
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
134 $(MAIN).bbl: ref.bib 1.tex # $(MAIN).aux
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
135 -$(BIBTEX) $(MAIN)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
136
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
137 $(MAIN).aux: $(MAIN).tex 1.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
138 $(LATEX) $(MAIN)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
139
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
140 1.tex: $(PAPER) $(DEPENDENCY)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
141 -o2tex $(PAPER)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
142
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
143 # OHP with slitex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
144 $(OHP): $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
145 $(OHP).dvi : $(OHP).tex $(DEPENDOHP)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
146 $(SLITEX) $(OHP)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
147
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
148 ohpprint: $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
149 lpr -c $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
150 ohplw: $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
151 $(DVI2PS) $(R) -o landscape $(OHP).dvi | lpr -P$(PRINTER)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
152 ohpnext: $(OHP).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
153 $(DVI2PS) -h -i /usr/lib/tex/ps/tex-j.next -o landscape $(OHP).dvi |\
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
154 lpr -Pcb
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
155 ohpgs: $(OHP).gs
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
156
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
157 cover: $(COVER).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
158 $(COVER): $(COVER).dvi
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
159 $(COVER).dvi : $(PAPER)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
160 coverprint: $(COVER).print
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
161 coverlw: $(COVER).lw
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
162 covernext: $(COVER).next
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
163 covergs: $(COVER).gs
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
164
4
88a77b2c92ea add makefile
e095732 <e095732@ie.u-ryukyu.ac.jp>
parents:
diff changeset
165 clean:
11
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
166 -rm -f $(MAIN).ps *.dvi *.log *.blg \
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
167 *~ \#* ?.tex *.toc *.lof *.lot xfig/*.tex abstract.tex abstract-e.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
168
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
169 tgrindfig.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
170 ln -s "$$HOME"/paper/tgrindfig.tex .
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
171 # for MSDOS
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
172 tgrindfi.tex:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
173 ln -s "$$HOME"/paper/tgrindfig.tex tgrindfi.tex
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
174 ref.bib:
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
175 ln -s "$$HOME"/paper/ref.bib .
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
176
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
177