From edd at debian.org  Wed Jul 20 02:22:56 2016
From: edd at debian.org (Dirk Eddelbuettel)
Date: Tue, 19 Jul 2016 19:22:56 -0500
Subject: [Rd] Issues building from svn
In-Reply-To: <15434F05-AC6B-4F21-AF7B-4EAE59E0D9B3@gmail.com>
References: <22414.34854.561908.558020@max.nulle.part>
	<15434F05-AC6B-4F21-AF7B-4EAE59E0D9B3@gmail.com>
Message-ID: <22414.50272.369088.441160@max.nulle.part>


On 20 July 2016 at 00:21, peter dalgaard wrote:
| 
| > On 19 Jul 2016, at 22:05 , Dirk Eddelbuettel <edd at debian.org> wrote:
| > 
| > 
| > On a fresh svn checkout in a fresh directory, following up on 'configure'
| > (with many options, pointer to exact invocation below) by 'make' ends in
| > tears:
| 
| This also breaks plain builds of r-devel. 
| 
| Subdir make is such a pain! Top level Makefile has
| 
| SUBDIRS = m4 tools doc etc share src tests
| ...
|         @for d in $(SUBDIRS); do \
|           (cd $${d} && $(MAKE) R) || exit 1; \
|         done
| 
| so building something in doc that relies on something built in src ends badly. Preliminary fiddling indicates that it might work to move doc after src in SUBDIRS, but the reverse (src to before doc) did not. 

Per the (now deleted by you) diff, the NEWS.rds needs ../bin/R to be
processed which is constructed only via src/ but now needed in doc/. Bang.
 
| [snippage]
| 
| > The problem does manifest itself when the svn directory is not 'fresh' as in
| > the case of the Docker builds as ../bin/R exists from the previous builds.
| > 
| > Dirk
| > 
| 
| Er, a "not" went missing in there??

Certainly, thanks.  And fortunes::fortune(112) still holds.

Dirk
 

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Issues building from svn
Dirk Eddelbuettel