Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8dc626d

Browse files
committed
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>
1 parent 8372304 commit 8dc626d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/makefiles/pgxs.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
# Use the following layout for your Makefile:
1010
#
1111
# [variable assignments, see below]
12-
# [custom rules, rarely necessary]
1312
#
1413
# PG_CONFIG = pg_config
1514
# PGXS := $(shell $(PG_CONFIG) --pgxs)
1615
# include $(PGXS)
1716
#
17+
# [custom rules, rarely necessary]
18+
#
1819
# Set one of these three variables to specify what is built:
1920
#
2021
# MODULES -- list of shared-library objects to be built from source files

0 commit comments

Comments
 (0)