From 71468046acbaf005173ababa0fe5ffb9c6426278 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 6 Mar 2017 15:39:58 +0100 Subject: Static documentation built by pkgdown Not by staticdocs any more --- GNUmakefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 1100841..556809b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -74,13 +74,10 @@ manual: vignettes/gmkin_manual.html vignettes: vignettes/gmkin_manual.html -sd: - rm -rf $(SDDIR)/* - cp gmkin_screenshot.png Rprofile $(SDDIR) - "$(RBIN)/Rscript" -e "library(staticdocs); build_site(site_path = '$(SDDIR)')" - cd $(SDDIR) && svn add --force . +pd: + "$(RBIN)/Rscript" -e "pkgdown::build_site()" git add -A - #git commit -m 'Vignettes rebuilt by staticdocs::build_site() for static documentation on r-forge' -e + git commit -m 'Static documentation rebuilt by pkgdown' -e drat: build "$(RBIN)/Rscript" -e "drat::insertPackage('$(TGZ)', commit = TRUE)" @@ -91,7 +88,9 @@ dratwin: winbin r-forge: sd git archive master > $(PKGDIR)/gmkin.tar;\ cd $(RFDIR) && rm -r `ls` && tar -xf $(PKGDIR)/gmkin.tar;\ - svn add --force .; cd $(RFSVN) && svn commit -m 'update gmkin from github repository' + rm -r $(SDDIR)/*;\ + cp -a docs/* $(SDDIR);\ + svn add --force .; svn rm --force `svn status | grep "\!" | cut -d " " -f 8`; cd $(RFSVN) && svn commit -m 'sync with git' clean: $(RM) -r $(PKGNAME).Rcheck/ -- cgit v1.2.1