Date: Tue, 06 May 2003 13:13:11 -0700
From: Lars Eggert <larse@ISI.EDU>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Subject: Re: hardcoded -C argument to ${INSTALL}
Message-ID: <3EB81757.6050402@isi.edu>
In-Reply-To: <58317.1052251189@critter.freebsd.dk>
References: <58317.1052251189@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Poul-Henning Kamp wrote:
> In message <3EB8109D.2060307@isi.edu>, Lars Eggert writes:
>>
>>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
It's probably faster because the copy operation is skipped when the
files are identical, but otherwise the results should be identical
(modulo the updated mtimes).
If so, putting "INSTALL=install -C" in /etc/make.conf accomplished this
easily. The problem is that there's currently no way to turn off the
hardcoded -C in some Makefiles.
> My suggestion for such a tool would be to run make installworld with
> a DESTDIR set, and compare the two trees ?
That's an approach I hadn't considered, but it feels more heavy-weight.
Lars
--
Lars Eggert <larse@isi.edu> USC Information Sciences Institute
[-- Attachment #2 --]
0 *H
010 + 0 *H
080fErtcvE.0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
000830000000Z
040827235959Z010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
*H
0 32c %E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf - ki N0L0)U"0 010UPrivateLabel1-2970U0 0U0
*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B li+@]jy.%݊
Z<D&iHΥbb090%A0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0J jWV~ 1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r Hcc U3%7N_o V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+ Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S090%A0
*H
010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu0"0
*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0J jWV~ 1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r Hcc U3%7N_o V0T0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0
*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+ Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S100010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0 + 0 *H
1 *H
0 *H
1
030506201311Z0# *H
1*tz~R*%eo?0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0*H
1010 UZA10UWestern Cape10U Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0
*H
dhY pђC6c)FZ~>Wo20_@B Y|0hBj]~mW\=C'@Yֲq:':,.Z.|Ef_h<KR;cc4Vrs:G@W6&<D뺙o{RL)m[
.QR~v\{⥊ Ѧ ҫx"bWG$5b+&+㳰Pc0T{!6[0uuK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB81757.6050402>
