aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-08-22 12:06:37 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-08-22 12:06:37 +0200
commit51aa1a77c9b9b9a6becdb2a5a85213946719b051 (patch)
tree5d972a8f5f9dd1f0b6f055b8575c226c61f8f0e0 /GNUmakefile
parent5038ba57fef6cc386566ec30f3d5dd67e62decff (diff)
Add README.html for cgit on jrwb.de
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