Installworld and /usr/include/*.h modification times

Doug Barton dougb at FreeBSD.org
Mon Jun 4 08:12:19 UTC 2012


On 06/04/2012 00:10, Christer Solskogen wrote:
> On Fri, Jun 1, 2012 at 3:42 PM, Kimmo Paasiala <kpaasial at gmail.com> wrote:
>> Hello list,
>>
>> Why are /usr/include files installed with "install -C" during "make
>> installworld"  when almost everything else is installed without the -C
>> flag? This makes it harder to track which files were actually
>> installed during the last "make installworld". One can easily find
>> obsolete files  (that are not covered with make delete-old(-libs))
>> with "find -x / -type f -mtime +suitable_time" but this doesn't work
>> for /usr/include files because the modification times are not bumped
>> on "make installworld".
>>
> 
> If you want, you can do this /after/ a buildworld
> 
> # mv /usr/include /usr/include.old
> # cd /usr/src

You don't need to do those last 2 steps below if you mv /usr/include
right before you do 'make installworld', FYI.

> # make hierarchy
> # make installincludes


-- 

    This .signature sanitized for your protection


More information about the freebsd-stable mailing list