From 51aa1a77c9b9b9a6becdb2a5a85213946719b051 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 22 Aug 2015 12:06:37 +0200 Subject: Add README.html for cgit on jrwb.de --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'GNUmakefile') 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 -- cgit v1.2.1