aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cae7a0f..b582462 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -19,11 +19,10 @@ pkgfiles = NEWS.md \
data/* \
DESCRIPTION \
inst/GUI/gmkin.R \
- inst/staticdocs/README \
man/* \
NAMESPACE \
R/* \
- README.md \
+ README.html \
TODO \
vignettes/gmkin_manual.html
@@ -58,6 +57,9 @@ check-no-vignettes: build-no-vignettes
"$(RBIN)/R" CMD check --as-cran --no-tests $(TGZ)
mv $(TGZ) $(TGZVNR)
+README.html: README.md
+ "$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document')"
+
vignettes/gmkin_manual.html: vignettes/gmkin_manual.Rmd
"$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/gmkin_manual.Rmd', dir = 'vignettes')"

Contact - Imprint