Re: PostgreSQL 9.3 beta breaks some extensions "make install" - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: PostgreSQL 9.3 beta breaks some extensions "make install"
Date
Msg-id m2obcdvl04.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: PostgreSQL 9.3 beta breaks some extensions "make install"  (Marti Raudsepp <marti@juffo.org>)
Responses Re: PostgreSQL 9.3 beta breaks some extensions "make install"  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> all: sql/$(EXTENSION)--$(EXTVERSION).sql
>
> sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
>         cp $< $@

That's a recipe for problems. Each time I meet with such a construct in
an extension's Makefile I propose an hard coded alternative. We're
speaking of maintaining less than half a dozen file names here, with one
or two additions per year, in most cases.

Really, that trick is a recipe for problems. Use at your own risk.

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

PS: yes I've been saying that all along, ever since David first cooked   that, and I've blogged about it, and I've
workedon alternatives and   tools, in particular pg_buildext, part of the postgresql-common   debian package.
 



pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: PostgreSQL 9.3 beta breaks some extensions "make install"
Next
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL 9.3 beta breaks some extensions "make install"