www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/12:32:14

Message-Id: <200007051631.LAA03097@darwin.sfbr.org>
Date: Wed, 5 Jul 2000 11:32:26 -0500 (CDT)
From: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
Subject: Re: Using $(HOME) in makefile
To: djgpp AT delorie DOT com
Cc: eliz AT is DOT elta DOT co DOT il
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc
Reply-To: djgpp AT delorie DOT com

-: There are several ways:
-: 
-: 	set HOME=c:
-: 	set HOME=c:/
-: 	set HOME=/dev/c

Yes, if I set HOME='/dev/c' the makefiles behave as desired.

But I neglected to say that whatever value HOME has for `make',
it should (ideally) be understood by any program that uses HOME to
find its startup files (e.g., gnuplot, vim, elvis).  These do not
understand `/dev/c'; `c:' is usually understood as a relative path;
and `c:/' will choke any program expecting DOS-style backslashes.

Fortunately, some of these programs also check another, more specific
environment variable (e.g., $VIM) if $HOME doesn't work for them.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019