diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-08 08:18:52 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-12-08 08:18:52 +0100 |
commit | 05ca1ca375414b974b13da3bdb565e20d0cd46d6 (patch) | |
tree | 5a58eebe33c1beb92cc14c7153bcd2092259c145 /GNUmakefile | |
parent | cc2fbeed2027e15e17cba139827ab87b9d352fad (diff) |
Static documentation articles rebuilt by pkgdown::build_articles()
Split out an extra pd_articles target in the Makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index ec8443e2..1d986246 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -87,9 +87,16 @@ vignettes/%.html: vignettes/mkin_vignettes.css vignettes/%.Rmd vignettes: vignettes/mkin.html vignettes/FOCUS_D.html vignettes/FOCUS_L.html vignettes/FOCUS_Z.pdf vignettes/compiled_models.html pd: - "$(RBIN)/Rscript" -e "pkgdown::build_site(run_dont_run = TRUE)" + "$(RBIN)/Rscript" -e "pkgdown::build_news()" + "$(RBIN)/Rscript" -e "pkgdown::build_reference(run_dont_run = TRUE)" + "$(RBIN)/Rscript" -e "pkgdown::build_home()" git add -A - git commit -m 'Static documentation rebuilt by pkgdown::build_site(run_dont_run = TRUE)' -e + git commit -m 'Static documentation except articles rebuilt by pkgdown' -e + +pd_articles: + "$(RBIN)/Rscript" -e "pkgdown::build_articles()" + git add -A + git commit -m 'Static documentation articles rebuilt by pkgdown::build_articles()' -e r-forge: rm -rf $(SDDIR)/* |