aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2018-03-01 10:32:08 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2018-03-01 10:32:08 +0100
commit282820693c62b958e12104f4bb6229c04803f098 (patch)
treea11cff514a9a14723cfdbe4d1f78155b7ee6bb71 /GNUmakefile
parent6d8de73e68f2c0349e618af35ce4a8f095ca0ed5 (diff)
Add a README.html for cgit.jrwb.de
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