aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-02-17 08:19:46 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2023-02-17 08:19:46 +0100
commitc7cc91c47f9b074521fcaaa05a020525d719c2d9 (patch)
tree24fa5dabf567a11ceb6bb3b406b6721080b7d6f0 /GNUmakefile
parent9b5a04b645235b10fe574eb14f3e7c6717c43b5a (diff)
Fix path, build target for prebuilt pdf vignettes
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9f268335..42df55d5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -99,6 +99,9 @@ testcheck: roxygen test check
README.html: README.md
"$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document', output_options = list(mathjax = NULL))"
+vignettes/%.pdf: vignettes/references.bib vignettes/%.rnw
+ "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.rnw', dir = 'vignettes')"
+
vignettes/%.html: vignettes/mkin_vignettes.css vignettes/references.bib vignettes/%.rmd
"$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.rmd', dir = 'vignettes')"

Contact - Imprint