aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-03-06 17:28:36 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-03-06 17:29:11 +0100
commit2481462820f14636ff8b203fc53148b94ab00507 (patch)
treed67882251c953992d0b32217c49696475dae9377 /GNUmakefile
parent17d3d111d6a51ad93f86c848fc39c1a5891d05a5 (diff)
Static documentation rebuilt by pkgdown::build_site()
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
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

Contact - Imprint