Mercurial > hg > Papers > 2012 > aplas
comparison paper/Makefile @ 11:bf3c780d3039
changed to outline format
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 14 Jun 2012 20:06:04 +0900 |
parents | 95657b9df30b |
children | 66931f63db4d |
comparison
equal
deleted
inserted
replaced
10:9de3eaf8b40f | 11:bf3c780d3039 |
---|---|
1 TARGET=aplas2012 | 1 DEPENDENCY = rectype.ind |
2 | 2 |
3 LATEX=platex | 3 DEPENDOHP = ohp.tex |
4 BIBTEX=pbibtex | 4 |
5 DVIPDF=dvipdfmx | 5 PAPER = rectype.ind |
6 XBB=extractbb | |
7 | 6 |
8 | 7 |
9 .SUFFIXES: .tex .div .pdf | 8 PRINTER = ab |
9 OHP = ohp | |
10 MAIN = main | |
11 COVER = trcover | |
12 LATEX = platex | |
13 SLITEX = jslitex | |
14 BIBTEX = jbibtex | |
15 AWK = awk | |
16 SED = sed | |
17 DVI2PS = dvi2ps | |
18 R = | |
19 PRINTER = | |
10 | 20 |
21 .SUFFIXES: .c .d .tokio .x .xfig .fig .tex .dvi .print .lw .next .ps .gs .xdvi | |
22 | |
23 .d.tex: | |
24 tgrind -F -ldb $< >$@ | |
25 .c.tex: | |
26 tgrind -F -lC $< >$@ | |
27 .tokio.tex: | |
28 tgrind -F -ltokio $< >$@ | |
29 .fig.tex: | |
30 f2tpic $< >$@ | |
31 .xfig.tex: | |
32 f2tpic $< >$@ | |
33 .fig.ps: | |
34 f2ps1 $< >$@ | |
35 .x.tex: | |
36 x2tpic $< | |
37 -rm -f $*.pic | |
11 .tex.dvi: | 38 .tex.dvi: |
12 $(LATEX) $< | 39 jlatex $< |
13 $(BIBTEX) $(TARGET) | 40 .dvi.print: |
41 $(DVI2PS) $(R) $< | lpr -P$(PRINTER) | |
42 # lpr $(PRINTER) -d $< | |
43 .dvi.lw: | |
44 $(DVI2PS) $(R) $< | lpr -P$(PRINTER) | |
45 .dvi.next: | |
46 dviNeXT $< | |
47 .dvi.xdvi: | |
48 (exec xdvi $< & ) | |
49 .dvi.ps: | |
50 -$(DVI2PS) $(R) $< > $*.ps | |
51 .ps.gs: | |
52 gs $*.ps | |
14 | 53 |
15 .dvi.pdf: | 54 all: |
16 $(DVIPDF) $(DVIPDF_OPT) $< | 55 -rm -f $(MAIN).dvi |
56 make $(MAIN).dvi | |
17 | 57 |
18 all: $(TARGET).pdf | 58 print: $(MAIN).print |
19 open $(TARGET).pdf | 59 lw: $(MAIN).lw |
60 next: $(MAIN).next | |
61 gs: $(MAIN).gs | |
62 $(MAIN).gs : $(MAIN).ps | |
63 $(MAIN).ps : $(MAIN).dvi | |
64 $(OHP).gs : $(OHP).ps | |
65 $(OHP).ps : $(OHP).dvi | |
66 xdvi: $(MAIN).xdvi | |
67 dvips: $(MAIN).dvi | |
68 dvips $(MAIN).dvi -o $(MAIN).ps | |
20 | 69 |
21 dvi: $(TARGET).div | 70 $(MAIN).dvi: 1.tex |
71 $(LATEX) $(MAIN) | |
22 | 72 |
23 pdf: $(TARGET).pdf | 73 jsss.dvi: jsss.tex 1.tex |
74 $(LATEX) jsss.tex | |
75 | |
76 wc: | |
77 $(SED) -e '/\\special{/d' $(PAPER) | delatex | wc | |
78 uu: | |
79 tar cBf - $(MAIN).[tab]* [0-9]*.tex $(DEPENDENCY) \ | |
80 title.tex abstract.tex ohp.tex \ | |
81 Makefile | gzip | uuencode $(PAPER).tar.gz > uu | |
82 | |
83 | |
84 bbl: $(MAIN).bbl | |
85 | |
86 $(MAIN).bbl: ref.bib 1.tex # $(MAIN).aux | |
87 -$(BIBTEX) $(MAIN) | |
88 | |
89 $(MAIN).aux: $(MAIN).tex 1.tex | |
90 $(LATEX) $(MAIN) | |
91 | |
92 1.tex: $(PAPER) $(DEPENDENCY) | |
93 -o2tex $(PAPER) | |
94 | |
95 # OHP with slitex | |
96 $(OHP): $(OHP).dvi | |
97 $(OHP).dvi : $(OHP).tex $(DEPENDOHP) | |
98 $(SLITEX) $(OHP) | |
99 | |
100 ohpprint: $(OHP).dvi | |
101 lpr -c $(OHP).dvi | |
102 ohplw: $(OHP).dvi | |
103 $(DVI2PS) $(R) -o landscape $(OHP).dvi | lpr -P$(PRINTER) | |
104 ohpnext: $(OHP).dvi | |
105 $(DVI2PS) -h -i /usr/lib/tex/ps/tex-j.next -o landscape $(OHP).dvi |\ | |
106 lpr -Pcb | |
107 ohpgs: $(OHP).gs | |
108 | |
109 cover: $(COVER).dvi | |
110 $(COVER): $(COVER).dvi | |
111 $(COVER).dvi : $(PAPER) | |
112 coverprint: $(COVER).print | |
113 coverlw: $(COVER).lw | |
114 covernext: $(COVER).next | |
115 covergs: $(COVER).gs | |
24 | 116 |
25 clean: | 117 clean: |
26 rm *.{log,aux,dvi,pdf,bbl,blg} | 118 -rm -f $(MAIN).ps *.dvi *.log *.blg \ |
119 *~ \#* ?.tex *.toc *.lof *.lot xfig/*.tex | |
120 | |
121 tgrindfig.tex: | |
122 ln -s "$$HOME"/paper/tgrindfig.tex . | |
123 # for MSDOS | |
124 tgrindfi.tex: | |
125 ln -s "$$HOME"/paper/tgrindfig.tex tgrindfi.tex | |
126 ref.bib: | |
127 ln -s "$$HOME"/paper/ref.bib . | |
128 | |
129 |