diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 13 |
1 files changed, 6 insertions, 7 deletions
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/ |