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

Hubert Palme palme at
Tue Feb 10 15:14:32 CET 1998

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

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'

Thanks to all the authors of R!

Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
Email: palme at             (Germany)
r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list