From 01d9de6ff165c64ffc4366f2eeb3d2649b5c74c0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 22 Jun 2015 06:09:00 +0200 Subject: Version bump, correct benchmark in vignette/compiled_models Reorganisation of the vignette generation in the Makefile. Improved YAML header in the R markdown vignettes. Rebuilt vignettes with the package installed. --- vignettes/GNUMakefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vignettes/GNUMakefile (limited to 'vignettes/GNUMakefile') 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 -- cgit v1.2.3