diff options
author | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2015-07-02 11:58:43 +0000 |
---|---|---|
committer | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2015-07-02 11:58:43 +0000 |
commit | 3d4f253ab14bb268cc5c3b80c4aacfeb72cab3e8 (patch) | |
tree | 3eacb8b8f32fa54ecd010487107cb6d4faab430c /GNUmakefile | |
parent | 8989125097ec810e7fc7a372bc159e28b3e2c867 (diff) |
Adapt to R CMD check --as-cran on R-devel, improve Makefile
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/kinfit@264 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/GNUmakefile b/GNUmakefile index 833d2fc..8ab7153 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -18,17 +18,17 @@ SDDIR ?= $(RFSVN)/www/kinfit_static .PHONY: help pkgfiles = data/* \ - DESCRIPTION \ - inst/staticdocs/README \ - man/* \ - NAMESPACE \ - R/* \ - tests \ - vignettes/header.tex \ - vignettes/examples.Rnw \ - vignettes/kinfit.Rnw \ - vignettes/KinGUI/* \ - vignettes/references.bib + DESCRIPTION \ + inst/staticdocs/README \ + man/* \ + NAMESPACE \ + R/* \ + tests \ + vignettes/header.tex \ + vignettes/examples.Rnw \ + vignettes/kinfit.Rnw \ + vignettes/KinGUI/* \ + vignettes/references.bib all: check clean @@ -70,11 +70,7 @@ vignettes/examples.pdf: vignettes/examples.Rnw vignettes: vignettes/examples.pdf vignettes/kinfit.pdf sd: - "$(RBIN)/Rscript" -e "library(staticdocs); build_site()" - -move-sd: sd - rm -f $(SDDIR)/{*.html,css/*.css,img/*.png,js/*.js,vignettes/*.pdf,vignettes/*.html};\ - cp -r inst/web/* $(SDDIR); cd $(SDDIR) && svn add --force . + "$(RBIN)/Rscript" -e "library(staticdocs); build_site(site_path = '$(SDDIR)')" clean: $(RM) -r $(PKGNAME).Rcheck/ |