On 5/14/13 7:50 AM, Dimitri Fontaine wrote: > Marti Raudsepp <ma...@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.
I don't think this in particular is a problem. I use something like that myself. But you should list all the older extension upgrade files explicitly (to which your point applies). -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers