From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF42F3858CDA; Thu, 30 Mar 2023 11:45:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF42F3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680176700; bh=4P7NX3NEXz+GW3NdvrzoEw5eYetzA/yTcWxcJO340F4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=S2RsXdAJId0b7PzFbnn+JILPqIHPVCfxhNBObDD4k+78x2zOQQy+ybYAQc+7zoy6x dSA4dou6iz1s5gs48nUghgL0VxMEbNO++KUrW+3GPup9cF3EJsdiJnvqBKn00nGy4t +7TEV3ypjL3rkQIJPX2FsMdUDbcMXnyI0adCwcWo= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/101834] make distclean forgets ./c++tools/ Date: Thu, 30 Mar 2023 11:45:00 +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: segher 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 #7 from Segher Boessenkool --- Thank you for looking at this! (In reply to Jonathan Wakely from comment #5) > c++tools/Makefile.in has: >=20 > mostlyclean:: > rm -f $(MAPPER.O) >=20 > clean:: > rm -f g++-mapper-server$(exeext) >=20 > distclean:: > rm -f config.log config.status config.h >=20 >=20 > Should distclean have clean as a prerequisite and clean have mostlyclean = as > a prerequisite? That is what all other Makefiles do, and that makes sense yes. Is it that simple? I'll test with that now. > That would still leave config.cache and Makefile and the .d fragments tho= ugh. Yup, but those I know how to handle :-)=