]> granicus.if.org Git - postgresql/commitdiff
Fix suggested layout for PGXS makefile
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 20 Nov 2014 03:21:54 +0000 (22:21 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 20 Nov 2014 03:21:54 +0000 (22:21 -0500)
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>

src/makefiles/pgxs.mk

index cc69c1be50ff17c70d8be3c86bb1434a8a308dcf..94ead5f794e93d63f049d569491570657abef8db 100644 (file)
@@ -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