summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-08-26 14:17:48 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-08-26 14:17:48 +0200
commit6156796699845eca57ae1b8515016deb14d445e6 (patch)
tree3136473a8c87397984e73061b34bbc8ca6a29935 /GNUmakefile
parent83c8575e2abde12208584b9c80935d4a873689fd (diff)
parent1ec3ee4a03d4e47fdd3be1bcbe754e478353410b (diff)
Merge branch 'master' into pfm_chent
Conflicts: pkg/DESCRIPTION
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9a41b50..ccf2570 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -17,6 +17,7 @@ usage:
@echo " install - Install the package."
pkgfiles = pkg/DESCRIPTION \
+ README.html \
pkg/inst/testdata/* \
pkg/tests/testthat.R \
pkg/tests/testthat/* \
@@ -41,6 +42,9 @@ $(TGZ): $(pkgfiles)
"$(R_HOME)/bin/R" CMD build pkg > build.log 2>&1
@echo "DONE."
+README.html: README.md
+ "$(R_HOME)/bin/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document')"
+
build: $(TGZ)
test: build

Contact - Imprint