aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile3
-rw-r--r--vignettes/dmta_parent_2022_prebuilt.rnw2
2 files changed, 4 insertions, 1 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')"
diff --git a/vignettes/dmta_parent_2022_prebuilt.rnw b/vignettes/dmta_parent_2022_prebuilt.rnw
index cbfa6897..6267bffc 100644
--- a/vignettes/dmta_parent_2022_prebuilt.rnw
+++ b/vignettes/dmta_parent_2022_prebuilt.rnw
@@ -3,5 +3,5 @@
%\VignetteIndexEntry{Testing hierarchical parent degradation kinetics with residue data on dimethenamid and dimethenamid-P}
\begin{document}
-\includepdf[pages=-, fitpaper=true]{2022_wp_1/2022_dmta_parent.pdf}
+\includepdf[pages=-, fitpaper=true]{prebuilt/2022_dmta_parent.pdf}
\end{document}

Contact - Imprint