summaryrefslogtreecommitdiff
path: root/contrib/oid2name/Makefile
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-11-05 14:41:07 -0800
committerAndres Freund <andres@anarazel.de>2019-11-05 14:41:07 -0800
commit01368e5d9da77099b38aac527b01b85cc7869b25 (patch)
treed624590ddf92466c262c86007b221d2d274bf602 /contrib/oid2name/Makefile
parent66c61c81b90c68db84d422092fbbf8a1a82ee09a (diff)
downloadpostgresql-01368e5d9da77099b38aac527b01b85cc7869b25.tar.gz
Split all OBJS style lines in makefiles into one-line-per-entry style.
When maintaining or merging patches, one of the most common sources for conflicts are the list of objects in makefiles. Especially when the split across lines has been changed on both sides, which is somewhat common due to attempting to stay below 80 columns, those conflicts are unnecessarily laborious to resolve. By splitting, and alphabetically sorting, OBJS style lines into one object per line, conflicts should be less frequent, and easier to resolve when they still occur. Author: Andres Freund Discussion: https://postgr.es/m/20191029200901.vww4idgcxv74cwes@alap3.anarazel.de
Diffstat (limited to 'contrib/oid2name/Makefile')
-rw-r--r--contrib/oid2name/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/oid2name/Makefile b/contrib/oid2name/Makefile
index 361a80a7a1..6179ed594c 100644
--- a/contrib/oid2name/Makefile
+++ b/contrib/oid2name/Makefile
@@ -4,7 +4,9 @@ PGFILEDESC = "oid2name - examine the file structure"
PGAPPICON = win32
PROGRAM = oid2name
-OBJS = oid2name.o $(WIN32RES)
+OBJS = \
+ $(WIN32RES) \
+ oid2name.o
TAP_TESTS = 1