From c7cc91c47f9b074521fcaaa05a020525d719c2d9 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 17 Feb 2023 08:19:46 +0100 Subject: Fix path, build target for prebuilt pdf vignettes --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'GNUmakefile') 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')" -- cgit v1.2.1