aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile20
1 files changed, 12 insertions, 8 deletions
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

Contact - Imprint