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

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
10 Feb 1998 15:43:03 +0100


To: palme@uni-wuppertal.de (Hubert Palme)
Subject: Re: Makefiles, was Re: R-beta:0.61.1 Problem with "make docs"
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 10 Feb 1998 15:43:03 +0100
In-Reply-To: palme@uni-wuppertal.de's message of Tue, 10 Feb 1998 15:14:32 +0100 (MET)

palme@uni-wuppertal.de (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@biostat.ku.dk)             FAX: (+45) 35327907

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