diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-10-07 17:53:25 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-10-07 17:53:25 +0200 |
commit | e15abefa041e12dc36cce1d827f51e6ce192cefb (patch) | |
tree | 471cd2de92aa6167c5cf5954c5aea6c4cec406a4 /GNUmakefile | |
parent | ae12e32d074ba3839c1b71d500d9a0757b0d8d10 (diff) |
Maintenance changes for the release of version 0.1-36
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index a2d88be..c0d78e3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,7 @@ PKGNAME := $(shell sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION) PKGVERS := $(shell sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION) PKGSRC := $(shell basename $(PWD)) +TGZ := ../$(PKGNAME)_$(PKGVERS).tar.gz # Specify the directory holding R binaries. To use an alternate R build (say a # pre-prelease version) use `make RBIN=/path/to/other/R/` or `export RBIN=...` @@ -22,6 +23,7 @@ help: @echo " check-no-vignettes Invoke build without rebuilding vignettes, and then check" @echo " install Invoke build and then install the result" @echo " install-no-vignettes Invoke build without rebuilding vignettes and then install the result" + @echo " winbuilder Upload the build to winbuilder" @echo "" @echo "Using R in: $(RBIN)" @echo "Set the RBIN environment variable to change this." @@ -42,21 +44,27 @@ build-no-vignettes: install: build cd ..;\ - "$(RBIN)/R" CMD INSTALL $(PKGNAME)_$(PKGVERS).tar.gz + "$(RBIN)/R" CMD INSTALL $(TGZ) install-no-vignettes: build-no-vignettes cd ..;\ - "$(RBIN)/R" CMD INSTALL $(PKGNAME)_$(PKGVERS).tar.gz + "$(RBIN)/R" CMD INSTALL $(TGZ) check: build cd ..;\ - "$(RBIN)/R" CMD check --as-cran $(PKGNAME)_$(PKGVERS).tar.gz + "$(RBIN)/R" CMD check --as-cran $(TGZ) check-no-vignettes: build-no-vignettes cd ..;\ - "$(RBIN)/R" CMD check --as-cran $(PKGNAME)_$(PKGVERS).tar.gz + "$(RBIN)/R" CMD check --as-cran $(TGZ) sd: @echo Now execute @echo "\n staticdocs::build_site()\n" $(RBIN)/R + +winbuilder: build + @echo "Uploading to R-release on win-builder" + curl -T $(TGZ) ftp://anonymous@win-builder.r-project.org/R-release/ + @echo "Uploading to R-devel on win-builder" + curl -T $(TGZ) ftp://anonymous@win-builder.r-project.org/R-devel/ |