[PATCH util-modular] build.sh: run make clean after make install

Gaetan Nadon memsize at videotron.ca
Fri Jul 27 13:10:56 PDT 2012

On 12-07-27 01:20 AM, Peter Hutterer wrote:
> On Thu, Jul 26, 2012 at 10:11:55PM -0700, Alan Coopersmith wrote:
>> On 07/26/12 09:04 PM, Peter Hutterer wrote:
>>> Running it before dist/distcheck/install is a bit pointless
>> Isn't the point there to clean up leftovers from previous builds and
>> ensure everything is fully rebuilt?   (Say if you changed a header
>> and don't trust that we've got the dependencies right for rebuilding
>> all files that include it.)
> oh, is it? I thought the point was to clean up after the build (that's how I
> understood the help text "Run make clean in addition to \"all install\"")
> but I may be wrong here. If the point is to clean up before, then just
> ignore this patch.
Running 'clean' will remove generated object code, but will not
'uninstall' headers or libraries.
You would need to run 'make uninstall' for that purpose.
The order in which 'clean' is placed suggests that it is done prior to
running 'dist' or 'distcheck' to ensure no object code lying around.

The step that is often overlooked before running a build is 'make
uninstall'. It seems simple, but if too many things changed since last
version, this may break or not remove undesired files.
> Cheers,
>    Peter
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

More information about the xorg-devel mailing list