diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 9a41b50..ccf2570 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,6 +17,7 @@ usage: @echo " install - Install the package." pkgfiles = pkg/DESCRIPTION \ + README.html \ pkg/inst/testdata/* \ pkg/tests/testthat.R \ pkg/tests/testthat/* \ @@ -41,6 +42,9 @@ $(TGZ): $(pkgfiles) "$(R_HOME)/bin/R" CMD build pkg > build.log 2>&1 @echo "DONE." +README.html: README.md + "$(R_HOME)/bin/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document')" + build: $(TGZ) test: build |