2
|
1 MAKE=make -f Makefile
|
|
2 LATEX=uplatex
|
|
3 BIBTEX=pbibtex
|
|
4 MAKEINDEX=upmendex
|
|
5 DVIPS=dvips
|
|
6 DVIPDFM=dvipdfmx
|
|
7
|
|
8
|
|
9 TARGET=master_paper
|
|
10 PS_SUFFIX=.ps
|
|
11 PDF_SUFFIX=.pdf
|
|
12
|
|
13 .SUFFIXES: .tex .dvi
|
|
14
|
|
15 # commands
|
|
16 .PHONY : clean open remake
|
|
17
|
|
18 $(TARGET).pdf:$(TARGET).dvi
|
|
19 @echo "========== GENERATE PDF file =========="
|
|
20 $(LATEX) $(TARGET) > /dev/null
|
|
21 $(DVIPDFM) $(TARGET)
|
|
22
|
|
23
|
|
24 $(TARGET).dvi: $(wildcard *.tex) $(wildcard chapter/*.tex)
|
|
25 @echo "========== PUBLISHING =========="
|
|
26 @echo "\t first..."
|
|
27 $(LATEX) $(TARGET) > /dev/null
|
|
28 $(BIBTEX) $(TARGET)
|
|
29 -$(MAKEINDEX) $(TARGET)
|
|
30 @echo "\t second..."
|
|
31 $(LATEX) $(TARGET) > /dev/null
|
|
32
|
|
33
|
|
34 open:$(TARGET).pdf
|
|
35 open $(TARGET).pdf
|
|
36
|
|
37 clean:
|
|
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
|
|
39
|
|
40 remake:
|
|
41 make clean
|
|
42 make
|
80
|
43
|
|
44 unite:
|
|
45 pdfunite master_paper.pdf other_paper/moarvm/anatofuz.pdf other_paper/prosymGears/anatofuz_prosym_2019.pdf other_paper/sigos/anatofuz-sigos.pdf final.pdf
|
|
46
|