Mercurial > hg > Papers > 2016 > masa-master
annotate paper/Makefile @ 97:c1738511433c
add tSearch Source code
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Feb 2016 20:40:30 +0900 |
parents | 4efa1c7604f5 |
children |
rev | line source |
---|---|
0
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 TARGET = master_paper |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 SRC = $(wildcard *.tex) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 LATEX = platex -shell-escape |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 BIBTEX = pbibtex |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 DVIPS = dvips |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 DVIPDFM = dvipdfmx |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 RM = rm -f |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 EBB = extractbb |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12 # Option definitions |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
13 DVIPDFMOPT = |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14 DVIPSOPT = -D 720 -mode esphi -O 0mm,0mm -N0 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 # Suffixes definitions |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
17 .SUFFIXES: .tex .dvi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
18 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
19 # Recipes |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
20 all: pdf# $(TARGET).ps |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
21 open $(TARGET).pdf |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
22 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
23 dvi: |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
24 @echo "----------- make dvi file ($(TARGET).dvi) ----------" |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
25 $(LATEX) $(TARGET) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
26 $(BIBTEX) $(TARGET) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
27 $(LATEX) $(TARGET) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
28 $(LATEX) $(TARGET) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
29 pdf: dvi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
30 $(DVIPDFM) $(DVIPDFMOPT) $(TARGET) |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
31 |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
32 clean: |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
33 $(RM) *~ \#* |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
34 @if [ -f $(TARGET).aux ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
35 then $(RM) $(TARGET).aux;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
36 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
37 @if [ -f $(TARGET).log ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
38 then $(RM) $(TARGET).log;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
39 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
40 @if [ -f $(TARGET).toc ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
41 then $(RM) $(TARGET).toc;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
42 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
43 @if [ -f $(TARGET).lof ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
44 then $(RM) $(TARGET).lof;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
45 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
46 @if [ -f $(TARGET).lot ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
47 then $(RM) $(TARGET).lot;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
48 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
49 @if [ -f $(TARGET).big ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
50 then $(RM) $(TARGET).big;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
51 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
52 @if [ -f $(TARGET).bbl ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
53 then $(RM) $(TARGET).bbl;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
54 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
55 @if [ -f $(TARGET).ilg ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
56 then $(RM) $(TARGET).ilg;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
57 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
58 @if [ -f $(TARGET).idx ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
59 then $(RM) $(TARGET).idx;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
60 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
61 @if [ -f $(TARGET).ind ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
62 then $(RM) $(TARGET).ind;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
63 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
64 @if [ -f $(TARGET).dvi ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
65 then $(RM) $(TARGET).dvi;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
66 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
67 @if [ -f $(TARGET).pdf ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
68 then $(RM) $(TARGET).pdf;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
69 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
70 @if [ -f $(TARGET).out ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
71 then $(RM) $(TARGET).out;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
72 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
73 @if [ -f $(TARGET).bbl ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
74 then $(RM) $(TARGET).bbl;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
75 fi |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
76 @if [ -f $(TARGET).blg ];\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
77 then $(RM) $(TARGET).blg;\ |
d173a7479c58
add some files
Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
78 fi |