pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: pgsql-admin@postgresql.org
Subject: Building in a different directory
Date: 26 Oct 2000 11:19:03 -0700
Message-ID: <20001026181903.16194.qmail@daffy.airs.com> (raw)

I sent a message along these lines yesterday, but never saw a copy.
Apologies if this is a repeat.

I normally prefer to build packages in directory other than the source
directory.  When I get a package, I normally do something like this:
    tar -xzvf foo-1.0.tar.gz
    mkdir foo-objdir
    cd foo-objdir
    ../foo-1.0/configure
    make

This is supported by autoconf in conjunction with GNU make.

Is there any interest in changing Postgres to support this?  The main
change is to rename a lot of Makefile files to Makefile.in, add a
couple of lines to each Makefile.in, and add the new Makefile.in files
to the list in AC_OUTPUT in configure.

For that matter, is there any interest in converting Postgres to use
automake?  Using automake, you write Makefile.am files instead of
Makefiles.  Makefile.am files are generally much smaller than
Makefiles, and automake also provides a number of convenient features
such as automatic dependency tracking.  However, it is a shift in
paradigm, and as such requires support from the developer community
(for one thing, any developer who needs to modify a Makefile needs to
install a copy of automake).  I've automakified complex packages in
the past, and I believe it's entirely doable for Postgres.

Is this the right mailing list to discuss this issue?

Ian



view thread (3+ messages)  latest in thread

Message-ID: <20001026181903.16194.qmail@daffy.airs.com>
Permalink:  ../20001026181903.16194.qmail@daffy.airs.com/
Also on:    postgresql.org/message-id/20001026181903.16194.qmail@daffy.airs.com

 · 

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-admin@postgresql.org
  Cc: ian@airs.com
  Subject: Re: Building in a different directory
  In-Reply-To: <20001026181903.16194.qmail@daffy.airs.com>
  References: <20001026181903.16194.qmail@daffy.airs.com>

* 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