From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 68F8F6DE02DA for ; Sat, 7 Jan 2017 18:27:08 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WSNQOAqnIj5a for ; Sat, 7 Jan 2017 18:27:07 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id F0FD66DE02CD for ; Sat, 7 Jan 2017 18:27:06 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cQ3Bs-0006HD-Hb; Sat, 07 Jan 2017 21:26:36 -0500 Received: (nullmailer pid 8882 invoked by uid 1000); Sun, 08 Jan 2017 02:27:01 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Cc: tomi.ollila@iki.fi Subject: Re: [RFC PATCH] rfc: make 'make distclean' always use current Makefile.config In-Reply-To: <20170106193254.12309-1-tomi.ollila@iki.fi> References: <20170106193254.12309-1-tomi.ollila@iki.fi> Date: Sat, 07 Jan 2017 22:27:01 -0400 Message-ID: <8737gucmmi.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 02:27:08 -0000 Tomi Ollila writes: I like the idea here; it's an annoying wait. Could we do something similar for make clean? > ... and not recreate it (slowly) if 'configure' changed, just to > be deleteted later during 'make distclean'. spellink > +# In case of 'make distclean' have configure as order-only prerequisite so > +# that Makefile.config is not recreated when configure is newer than it is. > +ifeq ($(MAKECMDGOALS),distclean) Two comments - do we want to check for exactly distclean, or distclean one of the goals? - it turns out that specifying e.g. "make distclean all" is currently broken (before your patch)