From e15abefa041e12dc36cce1d827f51e6ce192cefb Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 7 Oct 2015 17:53:25 +0200 Subject: Maintenance changes for the release of version 0.1-36 --- GNUmakefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'GNUmakefile') 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/ -- cgit v1.2.1