aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-03-06 15:39:58 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-03-06 15:39:58 +0100
commit71468046acbaf005173ababa0fe5ffb9c6426278 (patch)
tree4de91ca97bb0f8a80264c7f26f0d48d8505bf1c0 /GNUmakefile
parentac655f0c05b184ddffe64b3b37d1682998dfd5cc (diff)
Static documentation built by pkgdownv0.6.8
Not by staticdocs any more
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 1100841..556809b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -74,13 +74,10 @@ manual: vignettes/gmkin_manual.html
vignettes: vignettes/gmkin_manual.html
-sd:
- rm -rf $(SDDIR)/*
- cp gmkin_screenshot.png Rprofile $(SDDIR)
- "$(RBIN)/Rscript" -e "library(staticdocs); build_site(site_path = '$(SDDIR)')"
- cd $(SDDIR) && svn add --force .
+pd:
+ "$(RBIN)/Rscript" -e "pkgdown::build_site()"
git add -A
- #git commit -m 'Vignettes rebuilt by staticdocs::build_site() for static documentation on r-forge' -e
+ git commit -m 'Static documentation rebuilt by pkgdown' -e
drat: build
"$(RBIN)/Rscript" -e "drat::insertPackage('$(TGZ)', commit = TRUE)"
@@ -91,7 +88,9 @@ dratwin: winbin
r-forge: sd
git archive master > $(PKGDIR)/gmkin.tar;\
cd $(RFDIR) && rm -r `ls` && tar -xf $(PKGDIR)/gmkin.tar;\
- svn add --force .; cd $(RFSVN) && svn commit -m 'update gmkin from github repository'
+ rm -r $(SDDIR)/*;\
+ cp -a docs/* $(SDDIR);\
+ svn add --force .; svn rm --force `svn status | grep "\!" | cut -d " " -f 8`; cd $(RFSVN) && svn commit -m 'sync with git'
clean:
$(RM) -r $(PKGNAME).Rcheck/

Contact - Imprint