From mtmorgan at fhcrc.org  Fri Jun  9 22:03:30 2006
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Fri, 09 Jun 2006 13:03:30 -0700
Subject: [Rd] Environment variable MAKE not defined on Windows
Message-ID: <6phodx2drl9.fsf@gopher1.fhcrc.org>

On Windows,

> Sys.getenv("MAKE")
  MAKE 
"" 

when (at a DOS prompt)

X:>set MAKE
Environment variable MAKE not defined

On linux,

> Sys.getenv("MAKE")
  MAKE 
"make" 

even when (in a shell)

% echo $MAKE

returns nothing.


This has consequences, e.g., in buildVignette where

system(Sys.getenv("MAKE"))

dutifully does nothing on Windows, but evaluates the vignette Makefile
on linux.

> sessionInfo()
R version 2.4.0 Under development (unstable) (2006-06-08 r38315)
i386-pc-mingw32

> sessionInfo()
R version 2.4.0 Under development (unstable) (2006-05-25 r38197) 
x86_64-unknown-linux-gnu 


Martin
-- 
Bioconductor



[Rd] Environment variable MAKE not defined on Windows
Martin Morgan