-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
84 lines (55 loc) · 1.71 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
## This is omicron_generations
all: omicron-generation.pdf response.pdf
-include target.mk
# -include makestuff/perl.def
vim_session:
bash -cl "vmt README.md"
######################################################################
## Structure
Sources += README.md letter.md
subdirs += figure scripts
Ignore += $(subdirs)
hotdirs += $(subdirs)
alldirs += $(subdirs)
Sources += $(wildcard R/*.R)
######################################################################
## Main document
Sources += $(wildcard *.tex *.bib)
## omicron-generation.ld.pdf: omicron-generation.tex
## omicron-generation.pdf: omicron-generation.tex
## response.tex.pdf: response.tex
## response.pdf: response.tex
Ignore += response.ld.*
## response.ld.pdf: response.tex
submissionNOV: omicron-generation.tex.933813a3.oldfile
######################################################################
Sources += reviews.md
######################################################################
## Cache stuff
Sources += rdacache/README.md $(wildcard rdacache/*.rda)
Ignore += rdaout
use_cache:
rsync -aur rdacache/*.rda rdaout/
update_cache:
rsync -aur rdaout/*.rda rdaout/*.Rout rdacache/
git add -f rdacache/*.Rout
invalidate_cache:
$(RM) rdaout/*.rda
rdaout:
$(mkdir)
######################################################################
### Makestuff
Sources += Makefile
Ignore += makestuff
msrepo = https://github.com/dushoff
Makefile: makestuff/00.stamp
makestuff/%.stamp:
- $(RM) makestuff/*.stamp
(cd makestuff && $(MAKE) pull) || git clone $(msrepo)/makestuff
touch $@
-include makestuff/os.mk
-include makestuff/pipeR.mk
-include makestuff/texi.mk
-include makestuff/hotcold.mk
-include makestuff/git.mk
-include makestuff/visual.mk