aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b8cc5d82..126dede1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -65,15 +65,23 @@ check-no-vignettes: build-no-vignettes
clean:
$(RM) -r $(PKGNAME).Rcheck/
+ $(RM) vignettes/*.R
test: install-no-vignettes
cd tests;\
"$(RBIN)/Rscript" doRUnit.R
-.PHONY: vignettes
-vignettes:
- "$(RBIN)/Rscript" -e "tools::buildVignettes(dir = '.')"
-
+vignettes/mkin.pdf: vignettes/mkin.Rnw
+ "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/mkin.Rnw', dir = 'vignettes')"
+
+vignettes/FOCUS_L.html: vignettes/FOCUS_L.Rmd
+ "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/FOCUS_L.Rmd', dir = 'vignettes')"
+
+vignettes/FOCUS_Z.pdf: vignettes/FOCUS_Z.Rnw
+ "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/FOCUS_Z.Rnw', dir = 'vignettes')"
+
+vignettes: vignettes/mkin.pdf vignettes/FOCUS_L.html vignettes/FOCUS_Z.pdf
+
sd:
"$(RBIN)/Rscript" -e "library(staticdocs); build_site()"

Contact - Imprint