aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 59f3835..2f8f38c 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', output_options = list(mathjax = NULL))"
+
build:
"$(RBIN)/R" CMD build .

Contact - Imprint