Mercurial > hg > Papers > 2018 > nozomi-master
annotate paper/Makefile @ 176:055266d62d84
add slide
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 06 Feb 2018 03:56:16 +0900 |
parents | a2aaf1d0bf01 |
children |
rev | line source |
---|---|
3 | 1 # Settings |
145 | 2 TARGET=nozomi-master |
6
5c0e43b1b559
Import reference from atton-thesis
atton <atton@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
3 BIBTEX=pbibtex |
3 | 4 BB=extractbb |
5 | |
6 vpath pdf fig | |
7 FIGURES=$(wildcard fig/*.pdf) | |
8 FIGURES_FOR_TEX=$(subst .pdf,.xbb,$(FIGURES)) | |
9 | |
10 vpath agda src | |
11 SOURCES=$(wildcard src/*agda) | |
12 SOURCES_FOR_TEX=$(subst .agda,.agda.replaced,$(SOURCES)) | |
13 | |
14 # dependencies | |
15 $(TARGET).pdf : $(TARGET).dvi | |
16 dvipdfmx $< | |
17 | |
18 $(TARGET).dvi : $(wildcard *.tex) $(FIGURES_FOR_TEX) $(SOURCES_FOR_TEX) | |
19 platex $(TARGET).tex | |
146 | 20 $(BIBTEX) $(TARGET) |
3 | 21 platex $(TARGET).tex |
22 platex $(TARGET).tex | |
23 | |
24 %.xbb: %.pdf | |
25 $(BB) $< | |
26 | |
27 | |
28 # commands | |
29 .PHONY : clean all open remake | |
30 | |
31 clean: | |
66 | 32 rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg *.idx src/*.replaced |
3 | 33 |
34 all: $(TARGET).pdf | |
35 | |
36 open: $(TARGET).pdf | |
37 open $(TARGET).pdf | |
38 | |
39 remake: | |
40 make clean | |
41 make all |