diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 7c11926..730c460 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -30,8 +30,14 @@ check: build check-no-vignettes: build-no-vignettes "$(RBIN)/R" CMD check --as-cran $(TGZ) +vignettes/%.pdf: vignettes/%.Rnw + "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/$*.Rnw', dir = 'vignettes')" + +vignettes: vignettes/chemCal.pdf + pd: "$(RBIN)/Rscript" -e "pkgdown::build_site()" + cp vignettes/chemCal.pdf docs/articles git add -A git commit -m 'Static documentation rebuilt by pkgdown::build_site()' -e |