diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-08-26 11:58:28 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-08-26 11:58:28 +0200 |
commit | a55e8771b18ba65f419974e7964219479ab9a632 (patch) | |
tree | e5e83c9628d91440fd610ab4ebc4ee5a8044ba3f /GNUmakefile | |
parent | 7ac03d6a6f2aa950e25235e3f601a413faf62f2e (diff) |
Generate README.html for repo on cgit
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
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')" |