From owner-freebsd-current Fri Sep 19 11:32:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA29248 for current-outgoing; Fri, 19 Sep 1997 11:32:14 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241] (may be forged)) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA29241 for ; Fri, 19 Sep 1997 11:32:10 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.8.5/8.7.3) id LAA11177; Fri, 19 Sep 1997 11:30:29 -0700 (PDT) From: "Rodney W. Grimes" Message-Id: <199709191830.LAA11177@GndRsh.aac.dev.com> Subject: Re: Yet Another bug in src/Makefile In-Reply-To: <19970918213446.00164@hydrogen.nike.efn.org> from John-Mark Gurney at "Sep 18, 97 09:34:46 pm" To: gurney_j@resnet.uoregon.edu Date: Fri, 19 Sep 1997 11:30:29 -0700 (PDT) Cc: dima@tejblum.dnttm.rssi.ru, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Dmitrij Tejblum scribbled this message on Sep 19: > > 'make -DCLOBBER world' will not remove /usr/include. It will remove > > /usr/obj/usr/src/tmp/usr/include instead... > > why should it remove /usr/include?? /usr/include is not used for the Because the original Author of -DCLOBBER specifically wrote it to destroy the /usr/include tree to make sure that no OLD cruft was left behind in there. > building of the resulting binaries install.. why not do a rm -rf / > if you want to clean out the area your installing to... :) The installworld target of src/Makefile now needs the following added to it: .if defined(CLOBBER) rm -rf ${DESTDIR}/usr/include .endif > of course there is good argument that the installed to area should > be clean to prevent old files from contaminating a setup... but > if we start to clean out /usr/include, we should also do /{bin,sbin} > /usr/{bin,share,sbin,lib,libexec} and any others that get installed... > > -- > John-Mark Gurney Modem/FAX: +1 541 683 6954 > Cu Networking > > Live in Peace, destroy Micro$oft, support free software, run FreeBSD > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD