In article <20110905111014.gb12...@britannica.bec.de>, Joerg Sonnenberger <jo...@britannica.bec.de> wrote: >On Mon, Sep 05, 2011 at 09:57:02AM +0000, Alan Barrett wrote: >> Module Name: src >> Committed By: apb >> Date: Mon Sep 5 09:57:02 UTC 2011 >> >> Modified Files: >> src/etc/mtree: Makefile >> >> Log Message: >> Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp. >> This fixes a problem in which NetBSD.dist.tmp had been created in >> the SRCDIR by an earlier build (performed without an OBJDIR), and >> the existence of the file in the SRCDIR confused a subsequent build >> (performed with an OBJDIR). > >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.
We definitely don't want to add such magic. Please revert. Otherwise we should go and do this in 100's of Makefiles. christos