From: Don Armstrong Date: Mon, 1 Aug 2016 21:50:20 +0000 (-0700) Subject: add build rule to makefile X-Git-Url: https://git.donarmstrong.com/?p=r%2FCairoHacks.git;a=commitdiff_plain;h=e6690339eea09ea227fb54f9baa61b817c09b6f7;hp=377144ec3e2918ebd6df02d269dfb98d19f4034e add build rule to makefile --- diff --git a/Makefile b/Makefile index b119c24..c4a48a4 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ R ?= R ROPTS=-q --no-save --no-restore-data +build: + $(R) CMD build . + update_docs: $(R) $(ROPTS) -e "devtools::document()"