annotate Paper/Makefile @ 12:6116a8fe4a53

update chapter 1
author riono <e165729@ie.u-ryukyu.ac.jp>
date Sun, 09 Jan 2022 22:45:03 +0900
parents 1e12b3e710d6
children e33201b0018d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 MAKE=make -f Makefile
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 LATEX=uplatex
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 BIBTEX=pbibtex
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 MAKEINDEX=upmendex
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 DVIPS=dvips
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 DVIPDFM=dvipdfmx
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 TARGET=master_paper
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 PS_SUFFIX=.ps
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 PDF_SUFFIX=.pdf
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 .SUFFIXES: .tex .dvi
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 # commands
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .PHONY : clean open remake
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 $(TARGET).pdf:$(TARGET).dvi
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 @echo "========== GENERATE PDF file =========="
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 $(LATEX) $(TARGET) > /dev/null
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 $(DVIPDFM) $(TARGET)
2
946b23977773 update history chapter
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
22 open $(TARGET).pdf
1
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 $(TARGET).dvi: $(wildcard *.tex) $(wildcard chapter/*.tex)
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 @echo "========== PUBLISHING =========="
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 @echo "\t first..."
9
1e12b3e710d6 update chapter1
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 6
diff changeset
27 $(LATEX) $(TARGET)
6
3795fd2db3e7 update chapter 1 christie
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 3
diff changeset
28 $(LATEX) $(TARGET) > /dev/null
1
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 $(BIBTEX) $(TARGET)
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 -$(MAKEINDEX) $(TARGET)
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 @echo "\t second..."
3
66397d86aa5b fix template bug
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 2
diff changeset
32 $(LATEX) $(TARGET)
1
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 open:$(TARGET).pdf
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 open $(TARGET).pdf
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 clean:
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 rm -f *.dvi *.aux *.log *.ilg *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg *.idx src/*.replaced *.fdb_latexmk *.fls
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 remake:
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 make clean
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 make