From c737c606058cb4c2a0805e2bec8ce356d01a627a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 22 Oct 2015 17:30:09 +0200 Subject: A lot of working components of the new layout --- GNUmakefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index af98dbe..0a919b8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -18,7 +18,7 @@ SDDIR ?= $(RFSVN)/www/gmkin_static pkgfiles = NEWS.md \ data/* \ DESCRIPTION \ - inst/GUI/gmkin.R \ + inst/GUI/* \ man/* \ NAMESPACE \ R/* \ @@ -63,6 +63,16 @@ README.html: README.md vignettes/gmkin_manual.html: vignettes/gmkin_manual.Rmd "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/gmkin_manual.Rmd', dir = 'vignettes')" +vignettes/gmkin_manual.md: vignettes/gmkin_manual.Rmd + cd vignettes; \ + "$(RBIN)/Rscript" -e "knitr::knit('gmkin_manual.Rmd', out = 'gmkin_manual.md')"; \ + +inst/GUI/gmkin_manual.html: vignettes/gmkin_manual.md + cd vignettes; \ + pandoc -o ../inst/GUI/gmkin_manual.html gmkin_manual.md --toc --self-contained + +manual: vignettes/gmkin_manual.html inst/GUI/gmkin_manual.html + vignettes: vignettes/gmkin_manual.html sd: -- cgit v1.2.1