[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/2] Makefile: distclean should c
Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/2] Makefile: distclean should clean all possible targets
Wed, 27 Jul 2011 09:55:02 -0400
> There are many more object files that are built conditionally. Why is
> it okay not to delete them?
Perhaps they should be deleted too...
The GNU Make manual says the following about "distclean":
"Delete all files in the current directory (or created by this
makefile) that are created by configuring or building the program. If
you have unpacked the source and built the program without creating
any other files, ‘make distclean’ should leave only the files that
were in the distribution. However, there is no need to delete parent
directories that were created with ‘mkdir -p’, since they could have
existed anyway. "
Now, if everyone agrees that "distclean" is fine as it is, I won't
insist on anything.
> If you unwisely messed up your source tree by building in it, a simple
> and reliable way out is to git-clone yourself a new one. Or if you
> insist on recovering in-place, remove files outside .git that aren't in
[Qemu-trivial] [PATCH 2/2] Makefile: delete config.log in distclean, Alexandre Raymond, 2011/07/25