aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 2f8f38c..760dec8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -34,3 +34,16 @@ winbuilder: build
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/
+
+drat: build
+ "$(RBIN)/Rscript" -e "drat::insertPackage('$(TGZ)', commit = TRUE)"
+
+$(WINBIN): build
+ @echo "Building windows binary package..."
+ "$(RBIN)/R" CMD INSTALL $(TGZ) --build
+ @echo "DONE."
+
+winbin: $(WINBIN)
+
+dratwin: winbin
+ "$(RBIN)/Rscript" -e "drat::insertPackage('$(WINBIN)', 'e:/git/drat/', commit = TRUE)"

Contact - Imprint