Re: RFC: split OBJS lines to one object per line

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2019-10-29T20:31:11Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> one of the most frequent conflicts I see is that two patches add files
> to OBJS (or one of its other spellings), and there are conflicts because
> another file has been added.
> ...
> Now, obviously these types of conflicts are easy enough to resolve, but
> it's still annoying.  It seems that this would be substantially less
> often a problem if we just split such lines to one file per
> line.

We did something similar not too long ago in configure.in (bfa6c5a0c),
and it seems to have helped.  +1

			regards, tom lane



Commits

  1. Fix some OBJS lists in two Makefiles to be ordered alphabetically

  2. Split all OBJS style lines in makefiles into one-line-per-entry style.