aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 231273c1..a98129e0 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -39,11 +39,14 @@ $(TGZ): $(pkgfiles) vignettes
$(RM) Rplots.pdf
"$(RBIN)/R" CMD build . 2>&1 | tee build.log
+roxygen:
+ "$(RBIN)/Rscript" -e 'devtools::document()'
+
$(TGZVNR): $(pkgfiles)
"$(RBIN)/R" CMD build . --no-build-vignettes;\
mv $(TGZ) $(TGZVNR)
-build: $(TGZ)
+build: roxygen $(TGZ)
build-no-vignettes: $(TGZVNR)
@@ -53,10 +56,10 @@ install: build
quickinstall: build-no-vignettes
"$(RBIN)/R" CMD INSTALL $(TGZVNR)
-check: build
+check: roxygen build
_R_CHECK_CRAN_INCOMING_REMOTE_=false "$(RBIN)/R" CMD check --as-cran --no-tests $(TGZ) 2>&1 | tee check.log
-quickcheck: build-no-vignettes
+quickcheck: roxygen build-no-vignettes
mv $(TGZVNR) $(TGZ)
"$(RBIN)/R" CMD check --no-tests --no-build-vignettes --no-vignettes $(TGZ)
mv $(TGZ) $(TGZVNR)

Contact - Imprint