From owner-cvs-src@FreeBSD.ORG Thu Feb 19 13:09:59 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4614216A4CE; Thu, 19 Feb 2004 13:09:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4326843D1D; Thu, 19 Feb 2004 13:09:59 -0800 (PST) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1JL9xGe076921; Thu, 19 Feb 2004 13:09:59 -0800 (PST) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1JL9x0K076920; Thu, 19 Feb 2004 13:09:59 -0800 (PST) (envelope-from gad) Message-Id: <200402192109.i1JL9x0K076920@repoman.freebsd.org> From: Garance A Drosehn Date: Thu, 19 Feb 2004 13:09:59 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 21:09:59 -0000 gad 2004/02/19 13:09:59 PST FreeBSD src repository Modified files: . Makefile Log: Improvements on the 'make realclean' target. Some are style improvements, but the biggest issue is that there are situatons when ${.OBJDIR} == ${.SRCDIR}, and in those situations the previous version would happily remove all your /usr/src while it was cleaning out the objects. Not that *you* would be happy about it... Thanks to bde for immediately noticing this serious possibility. More improvements will be made to this target, but I wanted to commit this safer version right now, before anyone lost their /usr/src due to it. Reviewed by: bde MFC after: 10 days Revision Changes Path 1.294 +28 -13 src/Makefile