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

Peter Dalgaard BSA p.dalgaard at
Tue Feb 10 15:43:03 CET 1998

palme at (Hubert Palme) writes:

> 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.

Certainly can't harm... I thought that make would be wiser than using
the user shell, but apparently not.

> 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.

Yes, but... One of the things you see flashing before your eyes when
you run configure scripts for other packages is "checking whether make
sets $(MAKE)", which sort of gives the impression that there are
versions of make that *don't* do that. I wouldn't know what to do in
that case. Currently, the plan is to try to make things work with any
kind of make, but in the longer run, we may have to insist on gmake,
in which case your suggestion could be used.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at             FAX: (+45) 35327907

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