aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-06-24 16:27:38 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-06-24 16:27:38 +0200
commitab8cd4dd9aa6e9a06f6058693acb244b99370f52 (patch)
treee64468db35a386e8a7e0aae067017b6808ef16ab /GNUmakefile
parentd4adc170639cc967b9ef9270ef139f7ff5634f47 (diff)
Staticdocs site_path argument in build_site() now works
This long-standing issue finally got fixed in 2f56137fc9ba60bfea54e575d233f4e696bb8a5a
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 57a6ca15..b04d22af 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -89,14 +89,13 @@ vignettes/%.html: vignettes/mkin_vignettes.css vignettes/%.Rmd
vignettes: install-no-vignettes vignettes/mkin.pdf vignettes/FOCUS_D.html vignettes/FOCUS_L.html vignettes/FOCUS_Z.pdf vignettes/compiled_models.html
sd:
- "$(RBIN)/Rscript" -e "library(staticdocs); build_site()"
- $(RM) Rplots.pdf
-
-move-sd:
- rm -rf $(SDDIR)/*;\
- cp -r inst/web/* $(SDDIR); cp -r figure $(SDDIR); cd $(SDDIR) && svn add --force .
+ rm -rf $(SDDIR)/*
+ "$(RBIN)/Rscript" -e "library(staticdocs); build_site(site_path = '$(SDDIR)')"
+ $(RM) $(SDDIR)/Rplots.pdf
+ cp -r figure $(SDDIR)
-r-forge: sd move-sd
+r-forge: sd
+ cd $(SDDIR) && svn add --force .
git archive master > $(HOME)/mkin.tar;\
cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/mkin.tar;\
svn add --force .; svn rm --force `svn status | grep "\!" | cut -d " " -f 8`; cd $(RFSVN) && svn commit -m 'sync with git'

Contact - Imprint