Re: hardcoded -C argument to ${INSTALL}

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 06 May 2003 21:59:49 +0200
In message <3EB8109D.2060307_at_isi.edu>, Lars Eggert writes:
>This is a cryptographically signed message in MIME format.
>
>--------------ms050606080100070606050100
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>
>Hi,
>
>I'm putting a script together that will remove stale pieces after an 
>installworld, and my find+mtime approach chokes, because some uses of 
>${INSTALL} in the Makefiles hardcode the -C argument, which will cause 
>file modification times to not be updated if the files are identical.

I would argue this is actually the correct behaviour.o

My suggestion for such a tool would be to run make installworld with
a DESTDIR set, and compare the two trees ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue May 06 2003 - 10:59:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC