From p.dalgaard@biostat.ku.dk  Wed Jan 13 21:44:50 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 13 Jan 1999 22:44:50 +0100
Subject: make docs
In-Reply-To: Paul Gilbert's message of Wed, 13 Jan 1999 15:01:05 -0500
References: <99Jan13.151923est.13454@mailgate.bank-banque-canada.ca>
Message-ID: <x2pv8ic0fh.fsf@blueberry.kubism.ku.dk>

Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

> How quickly I forget. Thanks everyone for reminding me about gnu make. I had to
> switch back because
> 
> PADI_HOME:sh = if [ $PADI_HOME ] ; then echo $PADI_HOME; else echo $PWD ; fi
> 
> works to conditionally set a variable in Sun make but not in gnu. Does anyone
> know how to do an equivalent thing in gnu make?

PADI_HOME=$(shell if [ ....)

or something like that. 

I suspect, by the way, that the whole thing might be better written as 

PADI_HOME=$(shell ${PADI_HOME-$PWD})

-- 
   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-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


make docs
Peter Dalgaard BSA