pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Christoph Berg <myon@debian.org>
Cc: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: Updated pg_buildext
Date: Sat, 18 Jun 2011 17:36:57 +0200
Message-ID: <m2sjr7m9ra.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <20110617152500.GH4130@msgid.df7cb.de>
References: <20110617152500.GH4130@msgid.df7cb.de>

Hi,

Christoph Berg <myon@debian.org> writes:
> here's my updated pg_buildext script. Most notable changes are the
> addtion of the "configure" and "install" actions and that it catches
> more errors (set -e, die() calls).

I like your changes!

I recall that doing the build in the vtarget directory was important in
my usage, but it could be that you new -f $makefile style allows to run
the build from any directory…

> Dimitri, do you think that should go into the next postgresql-common
> version?

Yes.

> (Todo: think about a smart and policy-compliant way to update
> debian/control. Also, try using with 9.1 modules.)

As we rely on the extension's Makefile I think we're as good as can be
for 9.1.  For debian/control, we have the mechanism to automatically
derive it from supported-versions, we need to reach on a conclusion
about its use being safe.

The other TODO would be what to do about VPATH unfriendly extensions.
Some of them are using subdirectories where to stash regression tests,
docs, etc.  Then building from another place is a problem:  maybe that's
why you removed my forcing building in $vtarget?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



view thread (5+ messages)  latest in thread

Message-ID: <m2sjr7m9ra.fsf@2ndQuadrant.fr>
Permalink:  ../m2sjr7m9ra.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m2sjr7m9ra.fsf@2ndQuadrant.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, myon@debian.org
  Subject: Re: Updated pg_buildext
  In-Reply-To: <m2sjr7m9ra.fsf@2ndQuadrant.fr>
  References: <20110617152500.GH4130@msgid.df7cb.de> <m2sjr7m9ra.fsf@2ndQuadrant.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox