From 9124e0f7d673c65584c1b2f838a3b944ea89c31d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 13 Oct 2016 17:49:18 +0200 Subject: Add drat target, remove unmaintained usage hints --- GNUmakefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 9d34c37..5d396fc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -6,16 +6,6 @@ DATE := $(shell date +%Y-%m-%d) .PHONEY: usage check clean -usage: - @echo "Usage: make TARGET with TARGET being:" - @echo "" - @echo " clean - Clean up." - @echo " roxygen - Roxygenize." - @echo " sd - Build static documentation." - @echo " build - Build source package." - @echo " check - Run CRAN check on the package." - @echo " install - Install the package." - pkgfiles = DESCRIPTION \ README.html \ .Rbuildignore \ @@ -78,6 +68,9 @@ install: build "$(R_HOME)/bin/R" CMD INSTALL --no-multiarch $(TGZ) @echo "DONE." +drat: build + "$(R_HOME)/bin/Rscript" -e "drat::insertPackage('$(TGZ)', commit = TRUE)" + winbuilder: build date @echo "Uploading to R-release on win-builder" -- cgit v1.2.1