aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 21a94341..ac4bd808 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,6 +8,8 @@ PKGSRC := $(shell basename $(PWD))
# containing the first instance of R on the PATH.
RBIN ?= $(shell dirname "`which R`")
+SDDIR ?= $(HOME)/svn/kinfit.r-forge/www/mkin_static
+
.PHONY: help
help:
@@ -24,6 +26,8 @@ help:
@echo " install-no-vignettes Invoke build without rebuilding vignettes and then install the result"
@echo " test Install a new copy of the package without vignette rebuilding"
@echo " and run it through the testsuite"
+ @echo " sd Build the static documentation"
+ @echo " move-sd Move the static documentation where it belongs"
@echo ""
@echo "Packaging Tasks"
@echo "---------------"
@@ -66,6 +70,13 @@ test: install-no-vignettes
cd tests;\
"$(RBIN)/Rscript" doRUnit.R
+sd:
+ "$(RBIN)/Rscript" -e "library(staticdocs); build_site()"
+
+move-sd:
+ rm -rf $(SDDIR)/*;\
+ cp -r inst/web/* $(SDDIR)
+
#------------------------------------------------------------------------------
# Packaging Tasks
#------------------------------------------------------------------------------

Contact - Imprint