diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-11-09 09:05:15 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-11-09 09:05:15 +0100 |
commit | 3151647526f299686b68420a83ae38cd7f3d08f5 (patch) | |
tree | c061b5a23ac6cc5644c6851012105b185715ef5e /GNUmakefile | |
parent | 415ca2bea5d5c3815bd9f8fa1566cec5bb3fc775 (diff) |
Rebuild vignettes and static documentation
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile index 706e2cad..7dd9b3a1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -31,19 +31,19 @@ pkgfiles = \ all: build -$(TGZ): $(pkgfiles) +$(TGZ): $(pkgfiles) vignettes cd ..;\ "$(RBIN)/R" CMD build $(PKGSRC) 2>&1 | tee $(PKGNAME)/build.log -$(TGZVNR): $(pkgfiles) +$(TGZVNR): $(pkgfiles) vignettes cd ..;\ "$(RBIN)/R" CMD build $(PKGSRC) --no-build-vignettes;\ cd $(PKGSRC);\ mv $(TGZ) $(TGZVNR) -build: $(TGZ) vignettes +build: $(TGZ) -build-no-vignettes: $(TGZVNR) vignettes +build-no-vignettes: $(TGZVNR) install: build "$(RBIN)/R" CMD INSTALL $(TGZ) @@ -88,14 +88,13 @@ vignettes/%.html: vignettes/mkin_vignettes.css vignettes/%.Rmd vignettes: vignettes/mkin.pdf vignettes/FOCUS_D.html vignettes/FOCUS_L.html vignettes/FOCUS_Z.pdf vignettes/compiled_models.html sd: - rm -rf $(SDDIR)/* - cp index.r $(SDDIR) @echo Now execute - @echo "\n library(staticdocs); build_site(site_path = '$(SDDIR)')\n" + @echo "\n staticdocs::build_site()\n" $(RBIN)/R - rm $(SDDIR)/index.r r-forge: sd + rm -rf $(SDDIR)/* + cp -a inst/web/* $(SDDIR) cd $(SDDIR) && svn add --force . git archive master > $(HOME)/mkin.tar;\ cd $(RFDIR) && rm -r `ls` && tar -xf $(HOME)/mkin.tar;\ |