blob: de037089d79c313c89f7f8e7a750916cdfa41cc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
RBIN ?= $(shell dirname "`which R`")
all: vignettes
%.pdf: header.tex references.bib %.Rnw
"$(RBIN)/Rscript" -e "tools::buildVignette(file = '$*.Rnw')"
%.html: mkin_vignettes.css %.Rmd
"$(RBIN)/Rscript" -e "tools::buildVignette(file = '$*.Rmd')"
vignettes: mkin.pdf FOCUS_D.html FOCUS_L.html FOCUS_Z.pdf compiled_models.html
clean:
$(RM) *.aux *.bbl *.blg *.fdb_latexmk *.fls *.log *.out *.toc
$(RM) *.R *.md
$(RM) mkin.tex FOCUS_Z.tex
$(RM) -r *_cache *_files
$(RM) -r figure cache
|