Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3cfc233

Browse files
committed
Allow installation with pgpro prefix as well as postgresql and pgsql
1 parent0a6d624 commit3cfc233

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎src/Makefile.global.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,45 +105,55 @@ datarootdir := @datarootdir@
105105
bindir := @bindir@
106106

107107
datadir := @datadir@
108+
ifeq "$(findstring pgpro,$(datadir))" ""
108109
ifeq "$(findstring pgsql,$(datadir))" ""
109110
ifeq "$(findstring postgres,$(datadir))" ""
110111
overridedatadir :=$(datadir)/postgresql
111112
endif
112113
endif
114+
endif
113115

114116
sysconfdir := @sysconfdir@
117+
ifeq "$(findstring pgpro,$(sysconfdir))" ""
115118
ifeq "$(findstring pgsql,$(sysconfdir))" ""
116119
ifeq "$(findstring postgres,$(sysconfdir))" ""
117120
overridesysconfdir :=$(sysconfdir)/postgresql
118121
endif
119122
endif
123+
endif
120124

121125
libdir := @libdir@
122126

123127
pkglibdir =$(libdir)
128+
ifeq "$(findstring pgpro,$(pkglibdir))" ""
124129
ifeq "$(findstring pgsql,$(pkglibdir))" ""
125130
ifeq "$(findstring postgres,$(pkglibdir))" ""
126131
overridepkglibdir :=$(pkglibdir)/postgresql
127132
endif
128133
endif
134+
endif
129135

130136
includedir := @includedir@
131137

132138
pkgincludedir =$(includedir)
139+
ifeq "$(findstring pgpro,$(pkgincludedir))" ""
133140
ifeq "$(findstring pgsql,$(pkgincludedir))" ""
134141
ifeq "$(findstring postgres,$(pkgincludedir))" ""
135142
overridepkgincludedir :=$(pkgincludedir)/postgresql
136143
endif
137144
endif
145+
endif
138146

139147
mandir := @mandir@
140148

141149
docdir := @docdir@
150+
ifeq "$(findstring pgpro,$(docdir))" ""
142151
ifeq "$(findstring pgsql,$(docdir))" ""
143152
ifeq "$(findstring postgres,$(docdir))" ""
144153
overridedocdir :=$(docdir)/postgresql
145154
endif
146155
endif
156+
endif
147157

148158
htmldir := @htmldir@
149159

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp