Skip to content

Commit 0b36cb8

Browse files
committed
PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
1 parent 8ddd22f commit 0b36cb8

File tree

33 files changed

+61
-61
lines changed

33 files changed

+61
-61
lines changed

contrib/btree_gist/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz t
1313
date interval macaddr inet cidr text varchar char bytea bit varbit numeric
1414

1515
ifdef USE_PGXS
16-
PGXS = $(shell pg_config --pgxs)
16+
PGXS := $(shell pg_config --pgxs)
1717
include $(PGXS)
1818
else
1919
subdir = contrib/btree_gist

contrib/chkpass/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/chkpass/Makefile,v 1.6 2004/08/20 20:13:02 momjian Exp $
1+
# $PostgreSQL: pgsql/contrib/chkpass/Makefile,v 1.7 2005/09/27 17:13:00 tgl Exp $
22

33
MODULE_big = chkpass
44
OBJS = chkpass.o
@@ -7,7 +7,7 @@ DATA_built = chkpass.sql
77
DOCS = README.chkpass
88

99
ifdef USE_PGXS
10-
PGXS = $(shell pg_config --pgxs)
10+
PGXS := $(shell pg_config --pgxs)
1111
include $(PGXS)
1212
else
1313
subdir = contrib/chkpass

contrib/cube/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.13 2005/07/24 23:30:09 tgl Exp $
1+
# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.14 2005/09/27 17:13:00 tgl Exp $
22

33
MODULE_big = cube
44
OBJS= cube.o cubeparse.o
@@ -12,7 +12,7 @@ EXTRA_CLEAN = cubeparse.c cubeparse.h cubescan.c y.tab.c y.tab.h
1212
SHLIB_LINK += $(filter -lm, $(LIBS))
1313

1414
ifdef USE_PGXS
15-
PGXS = $(shell pg_config --pgxs)
15+
PGXS := $(shell pg_config --pgxs)
1616
include $(PGXS)
1717
else
1818
subdir = contrib/cube

contrib/dbase/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.7 2005/03/25 18:17:10 momjian Exp $
1+
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.8 2005/09/27 17:13:01 tgl Exp $
22

33
PROGRAM = dbf2pg
44
OBJS = dbf.o dbf2pg.o endian.o
@@ -16,7 +16,7 @@ MAN = dbf2pg.1 # XXX not implemented
1616

1717

1818
ifdef USE_PGXS
19-
PGXS = $(shell pg_config --pgxs)
19+
PGXS := $(shell pg_config --pgxs)
2020
include $(PGXS)
2121
else
2222
subdir = contrib/dbase

contrib/dblink/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.9 2004/08/20 20:13:03 momjian Exp $
1+
# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.10 2005/09/27 17:13:01 tgl Exp $
22

33
MODULE_big = dblink
44
PG_CPPFLAGS = -I$(libpq_srcdir)
@@ -11,7 +11,7 @@ REGRESS = dblink
1111

1212

1313
ifdef USE_PGXS
14-
PGXS = $(shell pg_config --pgxs)
14+
PGXS := $(shell pg_config --pgxs)
1515
include $(PGXS)
1616
else
1717
subdir = contrib/dblink

contrib/dbmirror/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.4 2004/11/04 06:09:19 neilc Exp $
1+
# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.5 2005/09/27 17:13:01 tgl Exp $
22

33
MODULES = pending
44
SCRIPTS = clean_pending.pl DBMirror.pl
55
DATA = AddTrigger.sql MirrorSetup.sql slaveDatabase.conf
66
DOCS = README.dbmirror
77

88
ifdef USE_PGXS
9-
PGXS = $(shell pg_config --pgxs)
9+
PGXS := $(shell pg_config --pgxs)
1010
include $(PGXS)
1111
else
1212
subdir = contrib/dbmirror

contrib/earthdistance/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.15 2005/07/24 23:30:09 tgl Exp $
1+
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.16 2005/09/27 17:13:02 tgl Exp $
22

33
MODULES = earthdistance
44
DATA_built = earthdistance.sql
@@ -8,7 +8,7 @@ REGRESS = earthdistance
88
SHLIB_LINK += $(filter -lm, $(LIBS))
99

1010
ifdef USE_PGXS
11-
PGXS = $(shell pg_config --pgxs)
11+
PGXS := $(shell pg_config --pgxs)
1212
include $(PGXS)
1313
else
1414
subdir = contrib/earthdistance

contrib/fulltextindex/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $PostgreSQL: pgsql/contrib/fulltextindex/Makefile,v 1.13 2004/08/20 20:13:04 momjian Exp $
1+
# $PostgreSQL: pgsql/contrib/fulltextindex/Makefile,v 1.14 2005/09/27 17:13:02 tgl Exp $
22

33
MODULES = fti
44
DATA_built = fti.sql
55
DOCS = README.fti
66
SCRIPTS = fti.pl
77

88
ifdef USE_PGXS
9-
PGXS = $(shell pg_config --pgxs)
9+
PGXS := $(shell pg_config --pgxs)
1010
include $(PGXS)
1111
else
1212
subdir = contrib/fulltextindex

contrib/fuzzystrmatch/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/contrib/fuzzystrmatch/Makefile,v 1.5 2004/08/20 20:13:04 momjian Exp $
1+
# $PostgreSQL: pgsql/contrib/fuzzystrmatch/Makefile,v 1.6 2005/09/27 17:13:03 tgl Exp $
22

33
MODULE_big = fuzzystrmatch
44
SRCS += fuzzystrmatch.c dmetaphone.c
@@ -7,7 +7,7 @@ DATA_built = fuzzystrmatch.sql
77
DOCS = README.fuzzystrmatch README.soundex
88

99
ifdef USE_PGXS
10-
PGXS = $(shell pg_config --pgxs)
10+
PGXS := $(shell pg_config --pgxs)
1111
include $(PGXS)
1212
else
1313
subdir = contrib/fuzzystrmatch

contrib/intagg/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# Makefile for integer aggregator
33
# Copyright (C) 2001 Digital Music Network.
44
# by Mark L. Woodward
5-
# $PostgreSQL: pgsql/contrib/intagg/Makefile,v 1.5 2004/08/20 20:13:04 momjian Exp $
5+
# $PostgreSQL: pgsql/contrib/intagg/Makefile,v 1.6 2005/09/27 17:13:03 tgl Exp $
66

77
MODULES = int_aggregate
88
DATA_built = int_aggregate.sql
99
DOCS = README.int_aggregate
1010

1111
ifdef USE_PGXS
12-
PGXS = $(shell pg_config --pgxs)
12+
PGXS := $(shell pg_config --pgxs)
1313
include $(PGXS)
1414
else
1515
subdir = contrib/intagg

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy