Patch to de-copy-paste the makefiles - Mailing list pgsql-pkg-yum

From Craig Ringer
Subject Patch to de-copy-paste the makefiles
Date
Msg-id CAGRY4nwzJuJzjG1o9kGLhAPHofYNTzEUdyj3mmoKj18QDiZPbg@mail.gmail.com
Whole thread Raw
List pgsql-pkg-yum
Hi

The attached patch generates all the makefile targets from a shared include file.

It also allows WORKDIR= to be defined to change where the output is produced.

This makes it easy to replace the actual build commands with something else, in my case docker-rpm-builder. I haven't yet made that neatly configurable/pluggable and I'm not sure I should; it's actually probably simpler to use something completely
separate and just pass the same make macros.

So I probably won't do anything more with this.

Anyway, in case it's useful/interesting, here it is. Apply with "git am".
Attachment

pgsql-pkg-yum by date:

Previous
From: Craig Ringer
Date:
Subject: Re: missing perl test modules in postgresqlXX-devel ?
Next
From: "Josserand, Jesse F (NE)"
Date:
Subject: public keys