From 05ca1ca375414b974b13da3bdb565e20d0cd46d6 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 8 Dec 2016 08:18:52 +0100 Subject: Static documentation articles rebuilt by pkgdown::build_articles() Split out an extra pd_articles target in the Makefile --- GNUmakefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') 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)/* -- cgit v1.2.1