summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-11-19 22:21:54 -0500
committerPeter Eisentraut <peter_e@gmx.net>2014-11-19 22:21:54 -0500
commit8dc626defec23016dd5988208d8704b858b9d21d (patch)
treecb4650315017da4f843f3456e3f1dd296e5cb3ef /src
parent8372304e3594a1d67737df779f098d9ae9937603 (diff)
Fix suggested layout for PGXS makefile
Custom rules must come after pgxs inclusion, not before, because any rule added before pgxs will break the default 'all' target. Author: Cédric Villemain <cedric@2ndquadrant.fr>
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/pgxs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index cc69c1be50f..94ead5f794e 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -9,12 +9,13 @@
# Use the following layout for your Makefile:
#
# [variable assignments, see below]
-# [custom rules, rarely necessary]
#
# PG_CONFIG = pg_config
# PGXS := $(shell $(PG_CONFIG) --pgxs)
# include $(PGXS)
#
+# [custom rules, rarely necessary]
+#
# Set one of these three variables to specify what is built:
#
# MODULES -- list of shared-library objects to be built from source files