From 282820693c62b958e12104f4bb6229c04803f098 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 1 Mar 2018 10:32:08 +0100 Subject: Add a README.html for cgit.jrwb.de --- GNUmakefile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 7951422..a6b575c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,14 +8,15 @@ DATE := $(shell date +%Y-%m-%d) .PHONEY: usage check clean pkgfiles = DESCRIPTION \ - .Rbuildignore \ - data/* \ - docs/* \ - docs/reference/* \ - inst/testdata/* \ - R/* \ - tests/testthat.R \ - tests/testthat/* + .Rbuildignore \ + data/* \ + docs/* \ + docs/reference/* \ + inst/testdata/* \ + README.html \ + R/* \ + tests/testthat.R \ + tests/testthat/* clean: @echo "Cleaning up..." @@ -27,6 +28,9 @@ roxygen: "$(R_HOME)/bin/Rscript" -e 'devtools::document()' @echo "DONE." +README.html: README.md + "$(R_HOME)/bin/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document', output_options = list(mathjax = NULL))" + pd: roxygen @echo "Building static documentation..." # suppressWarnings to get rid of mbcsToSbcs warnings when plotting the 'ยต' character -- cgit v1.2.1