diff options
| author | Johannes Ranke <jranke@uni-bremen.de> | 2015-07-24 21:26:43 +0200 | 
|---|---|---|
| committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-07-24 21:26:43 +0200 | 
| commit | 251624a3b2025df99cc899cbef4bcbe5593727b1 (patch) | |
| tree | 4ee0937bc6f258a16ccb933ce8da9951f2ef3be3 | |
| parent | 26eb2a35033cfe9c565b3d9f93b4c07a3db39860 (diff) | |
Update Makefile
| -rw-r--r-- | GNUmakefile | 33 | 
1 files changed, 16 insertions, 17 deletions
| diff --git a/GNUmakefile b/GNUmakefile index 69ad66f..991b630 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -15,19 +15,17 @@ RFSVN ?= $(HOME)/svn/kinfit.r-forge  RFDIR ?= $(RFSVN)/pkg/gmkin  SDDIR ?= $(RFSVN)/www/gmkin_static -.PHONY: help -  pkgfiles = NEWS.md \ -	   data/* \ -	   DESCRIPTION \ -	   inst/GUI/gmkin.R \ -	   inst/staticdocs/README \ -	   man/* \ -	   NAMESPACE \ -	   R/* \ -	   README.md \ -	   TODO \ -           vignettes/gmkin_manual.html +	data/* \ +	DESCRIPTION \ +	inst/GUI/gmkin.R \ +	inst/staticdocs/README \ +	man/* \ +	NAMESPACE \ +	R/* \ +	README.md \ +	TODO \ +	vignettes/gmkin_manual.html  all: check clean @@ -66,13 +64,14 @@ vignettes/gmkin_manual.html: vignettes/gmkin_manual.Rmd  vignettes: vignettes/gmkin_manual.html  sd: -	"$(RBIN)/Rscript" -e "library(staticdocs); build_site()" - -move-sd: sd  	rm -rf $(SDDIR)/*;\ -	cp -r inst/web/* $(SDDIR); cp gmkin_screenshot.png Rprofile $(SDDIR); cd $(SDDIR) && svn add --force . +	cp gmkin_screenshot.png Rprofile $(SDDIR) +	"$(RBIN)/Rscript" -e "library(staticdocs); build_site(site_path = '$(SDDIR)')" +	cd $(SDDIR) && svn add --force . +	git add -A +	git commit -m 'Vignettes rebuilt by staticdocs::build_site() for static documentation on r-forge' -e -r-forge: move-sd +r-forge: sd  	git archive master > $(HOME)/gmkin.tar;\  	cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/gmkin.tar;\  	svn add --force .; cd $(RFSVN) && svn commit -m 'update gmkin from github repository' | 
