annotate Paper/Makefile @ 6:2522f70375d5

add bibtex
author Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
date Thu, 17 Nov 2011 18:02:24 +0900 (2011-11-17)
parents 08708e1a2e64
children 9dad8afbb71e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 # Created by Daichi Toma on Nov 16, 2011
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 TARGET=prosym
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 LATEX=platex
6
2522f70375d5 add bibtex
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
6 BIBTEX=pbibtex
0
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 DVIPDF=dvipdfmx
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 #You need setting "-l" option if You think You get a landscape PDF
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 #DVIPDF_OPT=-l
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 .SUFFIXES: .tex .dvi .pdf
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 .tex.dvi:
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 $(LATEX) $<
6
2522f70375d5 add bibtex
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
15 $(BIBTEX) $(TARGET)
2522f70375d5 add bibtex
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
16 $(LATEX) $<
0
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 $(LATEX) $<
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 .dvi.pdf:
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 $(DVIPDF) $(DVIPDF_OPT) $<
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 all: $(TARGET).pdf
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 open $(TARGET).pdf
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 dvi: $(TARGET).dvi
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 pdf: $(TARGET).pdf
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 clean:
6
2522f70375d5 add bibtex
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
32 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *~ *.core
0
08708e1a2e64 first commit
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33