annotate Paper/Makefile @ 3:66397d86aa5b

fix template bug
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 04 Jan 2022 18:16:15 +0900
parents 946b23977773
children 3795fd2db3e7
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..."
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 $(LATEX) $(TARGET) > /dev/null
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 $(BIBTEX) $(TARGET)
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 -$(MAKEINDEX) $(TARGET)
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 @echo "\t second..."
3
66397d86aa5b fix template bug
riono <e165729@ie.u-ryukyu.ac.jp>
parents: 2
diff changeset
31 $(LATEX) $(TARGET)
1
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32
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 open:$(TARGET).pdf
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
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 clean:
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 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
39
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 remake:
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 make clean
fc9517b7a304 add Thesis template
riono <e165729@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 make