From 9a1e685a636f7632fc77c7375f9d42735be2decc Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 9 Jul 2019 12:34:04 +0200 Subject: More adaptations to mkin 0.9.49.6, update manual Static documentation rebuilt by pkgdown --- GNUmakefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 5078d82..b2399d7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,7 +2,6 @@ PKGNAME := $(shell sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION) PKGVERS := $(shell sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION) PKGDIR := $(PWD) TGZ := $(PKGNAME)_$(PKGVERS).tar.gz -TGZVNR := $(PKGNAME)_$(PKGVERS)-vignettes-not-rebuilt.tar.gz WINBIN := $(PKGNAME)_$(PKGVERS).zip # Specify the directory holding R binaries. To use an alternate R build (say a @@ -17,6 +16,7 @@ RFDIR ?= $(RFSVN)/pkg/gmkin SDDIR ?= $(RFSVN)/www/gmkin_static pkgfiles = NEWS.md \ + .Rbuildignore \ data/* \ DESCRIPTION \ inst/GUI/* \ @@ -34,17 +34,11 @@ all: check clean $(TGZ): $(pkgfiles) "$(RBIN)/R" CMD build . -$(TGZVNR): $(pkgfiles) - "$(RBIN)/R" CMD build --no-build-vignettes . ;\ - mv $(TGZ) $(TGZVNR) - roxygen: "$(RBIN)/Rscript" -e 'devtools::document()' build: roxygen $(TGZ) -build-no-vignettes: $(TGZVNR) - $(WINBIN): build @echo "Building windows binary package..." "$(RBIN)/R" CMD INSTALL $(TGZ) --build @@ -55,17 +49,8 @@ winbin: $(WINBIN) install: build "$(RBIN)/R" CMD INSTALL $(TGZ) -install-no-vignettes: build-no-vignettes - "$(RBIN)/R" CMD INSTALL $(TGZVNR) - check: build - # Vignettes have been rebuilt by the build target - "$(RBIN)/R" CMD check --no-tests --no-build-vignettes $(TGZ) - -check-no-vignettes: build-no-vignettes - mv $(TGZVNR) $(TGZ) "$(RBIN)/R" CMD check --no-tests $(TGZ) - mv $(TGZ) $(TGZVNR) README.html: README.md "$(RBIN)/Rscript" -e "rmarkdown::render('README.md', output_format = 'html_document', output_options = list(self_contained = TRUE))" -- cgit v1.2.1