From a55e8771b18ba65f419974e7964219479ab9a632 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Aug 2015 11:58:28 +0200 Subject: Generate README.html for repo on cgit --- GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') 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')" -- cgit v1.2.1