Re: Extensions makefiles - coverage

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ronan Dunklau <rdunklau(at)gmail(dot)com>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extensions makefiles - coverage
Date: 2013-09-22 05:34:53
Message-ID: 1379828093.5400.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2013-07-25 at 17:07 +0200, Ronan Dunklau wrote:
> I am using approximatively the layout that was proposed here:
> http://www.postgresql.org/message-id/51BB1B6E.2070705@dunslane.net
> It looks like everything is hard-coded to take the source and the
> gcda, gcno files in the base directory, but these files lay in a src
> directory with the proposed layout.

The PostgreSQL build system isn't going to work very well if you build
files outside of the current directory. If you want to put your source
files into a src/ subdirectory, then your top-level makefile should to a
$(MAKE) -C src, and you need to have a second makefile in the src
directory. If you do that, then the existing coverage targets will work
alright, I think.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2013-09-22 06:33:39 Re: [v9.4] row level security
Previous Message Peter Eisentraut 2013-09-22 04:33:31 Re: [PATCH] Add use of asprintf()