@@ -105,45 +105,55 @@ datarootdir := @datarootdir@
105
105
bindir := @bindir@
106
106
107
107
datadir := @datadir@
108
+ ifeq "$(findstring pgpro,$(datadir ) ) " ""
108
109
ifeq "$(findstring pgsql,$(datadir ) ) " ""
109
110
ifeq "$(findstring postgres,$(datadir ) ) " ""
110
111
override datadir :=$(datadir ) /postgresql
111
112
endif
112
113
endif
114
+ endif
113
115
114
116
sysconfdir := @sysconfdir@
117
+ ifeq "$(findstring pgpro,$(sysconfdir ) ) " ""
115
118
ifeq "$(findstring pgsql,$(sysconfdir ) ) " ""
116
119
ifeq "$(findstring postgres,$(sysconfdir ) ) " ""
117
120
override sysconfdir :=$(sysconfdir ) /postgresql
118
121
endif
119
122
endif
123
+ endif
120
124
121
125
libdir := @libdir@
122
126
123
127
pkglibdir =$(libdir )
128
+ ifeq "$(findstring pgpro,$(pkglibdir ) ) " ""
124
129
ifeq "$(findstring pgsql,$(pkglibdir ) ) " ""
125
130
ifeq "$(findstring postgres,$(pkglibdir ) ) " ""
126
131
override pkglibdir :=$(pkglibdir ) /postgresql
127
132
endif
128
133
endif
134
+ endif
129
135
130
136
includedir := @includedir@
131
137
132
138
pkgincludedir =$(includedir )
139
+ ifeq "$(findstring pgpro,$(pkgincludedir ) ) " ""
133
140
ifeq "$(findstring pgsql,$(pkgincludedir ) ) " ""
134
141
ifeq "$(findstring postgres,$(pkgincludedir ) ) " ""
135
142
override pkgincludedir :=$(pkgincludedir ) /postgresql
136
143
endif
137
144
endif
145
+ endif
138
146
139
147
mandir := @mandir@
140
148
141
149
docdir := @docdir@
150
+ ifeq "$(findstring pgpro,$(docdir ) ) " ""
142
151
ifeq "$(findstring pgsql,$(docdir ) ) " ""
143
152
ifeq "$(findstring postgres,$(docdir ) ) " ""
144
153
override docdir :=$(docdir ) /postgresql
145
154
endif
146
155
endif
156
+ endif
147
157
148
158
htmldir := @htmldir@
149
159