develooper Front page | perl.makemaker | Postings from April 2003

Re: How do you force make to overwrite all files upon make install?

Thread Previous | Thread Next
From:
Ken Williams
Date:
April 29, 2003 15:37
Subject:
Re: How do you force make to overwrite all files upon make install?
Message ID:
136D96CD-7A93-11D7-AD39-003065F6D85A@mathforum.org

On Tuesday, April 29, 2003, at 03:39  PM, Michael G Schwern wrote:

> On Mon, Apr 28, 2003 at 06:34:51AM -0700, DH wrote:
>> How do you force make to overwrite all files upon make install?
>> I usually run make UNINST=1.
>> I tried make FORCE=1 but that didn't work ;)
>> Is there such an option?
>
> If the file has changed it will overwrite it.  Otherwise it won't 
> bother
> since it would be a no-op.  'make install' will do that by default.  
> How is
> it not overwriting?
>
> UNINST=1 has nothing to do with that.  'make install UNINST=1' deletes
> all copies of the files elsewhere in your @INC path (aka 'shadowing')
> so they don't interfere with your newly installed version.

I think UNINST=1 only removes *different* versions of the file 
elsewhere in @INC.  If it finds files with the same names & contents, 
it will leave them alone, which is annoying but doesn't have much 
practical effect.

  -Ken


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About