aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-09-27 16:11:25 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-09-27 16:11:25 +0200
commit40d06320e097434a924c0d57b26e5e1a7574625c (patch)
treec18fdb35a36f89b5ca2dcbdd49a688e06cf18db5 /GNUmakefile
parent81672751d5b23ed73c9b05bb02c52f0ee854de77 (diff)
Add staticdocs
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 333d0c6..b88fb85 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -29,6 +29,11 @@ roxygen:
"$(R_HOME)/bin/Rscript" -e 'library(devtools); document(".")'
@echo "DONE."
+sd: roxygen
+ @echo "Building static documentation..."
+ "$(R_HOME)/bin/Rscript" -e 'staticdocs::build_site()'
+ @echo "DONE."
+
$(TGZ): $(pkgfiles)
sed -i -e "s/Date:.*/Date: $(DATE)/" DESCRIPTION
@echo "Roxygenizing package..."

Contact - Imprint