From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0AB253858284; Fri, 31 Mar 2023 09:39:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AB253858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680255585; bh=3HNwE1EOo8S05P3K48e1cwkQfiqEDW2+cQmHZoKYPWo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w/qzj2/RHiTqIbnbZZnL+6c+RL/FCRccaXkRzDUgJXz5RBY+RSd0mg1aLuyOfgYGt q3OYNuc2zpVeJhAXqEpT4VmuFlYLUv1dEc+AXoqqTLyD+QtgzGMrwlKsXXfHC4Cx5y Ejj+JOlO3AAYm90X62Sn0guKk3ZimdnCwVinmn1U= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/101834] make distclean forgets ./c++tools/ Date: Fri, 31 Mar 2023 09:39:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101834 --- Comment #13 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:79d1e0b2c2b8ff4f4b1118549a80945faa1cb356 commit r13-6955-g79d1e0b2c2b8ff4f4b1118549a80945faa1cb356 Author: Jonathan Wakely Date: Thu Mar 30 13:03:11 2023 +0100 c++tools: Fix Makefile to properly clean and rebuild [PR101834] The c++tools makefile doesn't remove progressively more files in each of mostlyclean, clean, and distclean. Instead, each removes a different set of files (and some files are not removed by any target). Use prerequisites so that everything is removed. Also, building in the $objdir/c++tools directory doesn't work, because the INSTALL variable is never set. It works when building from the top-level because INSTALL is set in the environment when recursively invoking make for sub-directories. c++tools/ChangeLog: PR bootstrap/101834 * Makefile.in (INSTALL): Set variable. (mostlyclean): Mark as a phony target. (clean): Add mostlyclean as a prerequisite. (distclean): Add clean as a prerequisite and remove more files. (maintainer-clean): Add distclean as a prerequisite.=