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 85D2F6DE0A6C for ; Wed, 30 Aug 2017 16:28:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, 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 Z1guKsflNGhH for ; Wed, 30 Aug 2017 16:28:21 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id B8A136DE02DD for ; Wed, 30 Aug 2017 16:28:21 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1dnCLj-0002At-9h; Wed, 30 Aug 2017 19:24:43 -0400 Received: (nullmailer pid 18022 invoked by uid 1000); Wed, 30 Aug 2017 23:28:19 -0000 From: David Bremner To: Jani Nikula , notmuch@notmuchmail.org, notmuch@freelists.org Subject: Re: [Patch v2] build: add target to run cppcheck In-Reply-To: <87mv6ikyq7.fsf@nikula.org> References: <87pobhl8wc.fsf@nikula.org> <20170829113526.10435-1-david@tethera.net> <87mv6ikyq7.fsf@nikula.org> Date: Wed, 30 Aug 2017 20:28:19 -0300 Message-ID: <87shg8zld8.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Wed, 30 Aug 2017 23:28:22 -0000 Jani Nikula writes: > > I thought the quiet build lines like > > CPPCHECK .stamps/cppcheck/util/error_util.c > > were a bit ugly, so I came up with [1]. With that plus this change: > > - $(call quiet,CPPCHECK) --template=gcc --error-exitcode=1 --quiet $< > + $(call quiet,CPPCHECK,$<) --template=gcc --error-exitcode=1 --quiet $< > series pushed, with this change d