aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-10-27 14:26:18 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2014-10-27 14:26:18 +0100
commitcae0443746faa72b521f1f31d36bbb13b5ddd92f (patch)
tree4f04c253231bf3d213e068c8b6e9d39147877dee /GNUmakefile
parent877d0f625d1a693193088027602cee7c748520ec (diff)
gmkin is now in R-Forge
- Update installation instructions - Bump version, as this is a remarkable change - Update Makefile and NEWS - Fix building the manual using the Makefile, pandoc was not found by tools::buildVignettes
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0c74591..e8e3692 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -12,6 +12,7 @@ RBIN ?= $(shell dirname "`which R`")
#
# Specify static documentation directories for subversion on r-forge
RFSVN ?= $(HOME)/svn/kinfit.r-forge
+RFDIR ?= $(RFSVN)/pkg/gmkin
SDDIR ?= $(RFSVN)/www/gmkin_static
.PHONY: help
@@ -63,7 +64,7 @@ check-no-vignettes: build-no-vignettes
mv $(TGZ) $(TGZVNR)
vignettes/gmkin_manual.html: vignettes/gmkin_manual.Rmd
- "$(RBIN)/Rscript" -e "tools::buildVignette(file = 'vignettes/gmkin_manual.Rmd', dir = 'vignettes')"
+ "$(RBIN)/Rscript" -e "rmarkdown::render(input = 'vignettes/gmkin_manual.Rmd')"
vignettes: vignettes/gmkin_manual.html
@@ -75,7 +76,9 @@ move-sd: sd
cp -r inst/web/* $(SDDIR); cp gmkin_screenshot.png $(SDDIR); cd $(SDDIR) && svn add --force .
r-forge: move-sd
- cd $(RFSVN) && svn commit -m 'update gmkin static documentation from github repository'
+ git archive master > $(HOME)/gmkin.tar;\
+ cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/gmkin.tar;\
+ svn add --force .; cd $(RFSVN) && svn commit -m 'update gmkin from github repository'
release: r-forge build
cp $(TGZ) $(RFSVN)/www/repo/src/contrib; scp $(TGZ) qnap:projects/gmkin

Contact - Imprint