Makefiles, was Re: R-beta:0.61.1 Problem with "make docs"

Hubert Palme (palme@uni-wuppertal.de)
Tue, 10 Feb 1998 15:14:32 +0100 (MET)


Date: Tue, 10 Feb 1998 15:14:32 +0100 (MET)
Message-Id: <199802101414.PAA08591@wrin27.urz.uni-wuppertal.de>
From: palme@uni-wuppertal.de (Hubert Palme)
To: Ben Bolker <ben@eno.Princeton.EDU>, R help list <R-help@stat.math.ethz.ch>
Subject: Makefiles, was Re: R-beta:0.61.1 Problem with "make docs"
In-Reply-To: <Pine.SUN.3.95.980115083356.18298B-100000@chekov>
	<Pine.SUN.3.95.980115083356.18298B-100000@chekov>

I just installed R and saw this thread in the archive :-)

Thomas Lumley: 
 > On Thu, 15 Jan 1998, Ben Bolker wrote:
 > 
 > > 
 > >   Would it make sense to add something to configure that looks for gnu 
 > > make and sets MAKE=gnu make if it's available?  (This might forestall this
 > > FAQ a certain amount of the time ...)
 > > 
 > 
 > It would make sense, but it would make even more sense not to require GNU
 > make, so we plan to do that instead.

As for the Makefiles I would strongly recommend two changes:

1. Insert at the beginning of each Makefile

SHELL = /bin/sh

I stumbled over it becuase I normnally use tcsh, and this doesn't
understand the (bourne shell) syntax of the control structures in the
Makefiles.

2. Change all make calls to $(MAKE)

So we are shure that all the recursive make calls use the same
make. This was the problem with GNUmake not solving the 'make docs'
problem.

Thanks to all the authors of R!

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
Email: palme@uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._