diff options
Diffstat (limited to 'vignettes/GNUMakefile')
-rw-r--r-- | vignettes/GNUMakefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vignettes/GNUMakefile b/vignettes/GNUMakefile new file mode 100644 index 00000000..de037089 --- /dev/null +++ b/vignettes/GNUMakefile @@ -0,0 +1,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 |