On Mon, 05 Sep 2011, Joerg Sonnenberger wrote:
On Mon, Sep 05, 2011 at 09:57:02AM +0000, Alan Barrett wrote:
Modified Files:
src/etc/mtree: Makefile
Log Message:
Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp.
Do we really want to add special cases like this? There are all
kinds of mysterious errors triggered by unclean SRCDIR, I don't
think it is worth adding this specific hack.
I am not sure. We have done this sort of thing before, for other
files under src/etc, and I think it's reasonable to treat src/etc
differently from the rest of the source tree because etcupdate and
postinstall may run "make" in src/etc without the user being aware
that their source directory is being polluted.
On the other hand, if we can get postinstall and etcupdate to run
"make clean" afterwards, then I'd be happier for this and similar
special cases to be removed.
--apb (Alan Barrett)