aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-03-06 17:05:46 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-03-06 17:05:46 +0100
commit92a4c580723f2665aea94f693efe2e1584610a2c (patch)
tree3b046bae505a65ea07d412a6cdbba81b19c6c997 /GNUmakefile
parent73e650114af77582238abf5273e63005e0b2287e (diff)
Add README.html and link to pkgdown.jrwb.de
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d01273d..7c11926 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -9,6 +9,9 @@ TGZ := $(PKGNAME)_$(PKGVERS).tar.gz
# containing the first instance of R on the PATH.
RBIN ?= $(shell dirname "`which R`")
+README.html: README.md
+ "$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document')"
+
build:
"$(RBIN)/R" CMD build .

Contact - Imprint