Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBh1-0007jF-4O for pgsql-committers@arkaria.postgresql.org; Tue, 12 May 2015 15:01:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YsBh0-0007k5-LL for pgsql-committers@arkaria.postgresql.org; Tue, 12 May 2015 15:01:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YsBh0-0007jz-2C for pgsql-committers@postgresql.org; Tue, 12 May 2015 15:01:58 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YsBgw-0005Jh-JD for pgsql-committers@postgresql.org; Tue, 12 May 2015 15:01:57 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1YsBgr-0004PB-Tr; Tue, 12 May 2015 11:01:49 -0400 Date: Tue, 12 May 2015 11:01:49 -0400 From: Bruce Momjian To: Alvaro Herrera Cc: Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Improve speed of make check-world Message-ID: <20150512150149.GJ385@momjian.us> References: <20150505180250.GL2523@alvh.no-ip.org> <20150509180215.GB30684@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150509180215.GB30684@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Sat, May 9, 2015 at 02:02:15PM -0400, Bruce Momjian wrote: > Yes, I found this odd too. It is caused by this commit: > > commit dcae5faccab64776376d354decda0017c648bb53 > Author: Peter Eisentraut > Date: Thu Apr 23 08:59:52 2015 -0400 > > Improve speed of make check-world > > It basically added a'check' target dependency of 'temp-install' to > Makefile.global.in, which added it to every Makefile containing a > 'check' target. > > While you can't easily add rule action to an existing target, you can > easily add dependencies by just mentioning the target multiple times, > e.g. > > check: dep1 > > check: dep2 > > dep1: > echo 1 > > dep2: > echo 2 > > > Running 'make check' will output '1 2'. > > Now, of course many check's need temp-install, but the SGML build does > not. The attached diff uses a symbol defined in doc/src/sgml/Makefile > (GENERATED_SGML) to supress the temp-install target rule action. Patch applied, with added Makefile comment. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers