aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-11-12 13:44:17 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2014-11-12 13:44:17 +0100
commit401570aa9e58c4a2f2e939f37f496453d97d3f33 (patch)
tree27fbf0df9896c251506e084e0971fb26cda6da9a /GNUmakefile
parentb4d253edcf71fbf4175bc73cdb9593eea816c358 (diff)
parent3516b626be1aeb639d0735e79449424d2e987d7a (diff)
Merge branch 'master' into iore
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