mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Make pg_config location overridable for pgxs builds.
This commit is contained in:
parent
7da24bcbc1
commit
679de5e573
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-makefile-*-
|
||||||
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.222 2006/04/19 16:32:08 tgl Exp $
|
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.223 2006/07/20 09:30:18 petere Exp $
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# All PostgreSQL makefiles include this file and use the variables it sets,
|
# All PostgreSQL makefiles include this file and use the variables it sets,
|
||||||
@ -118,16 +118,18 @@ localedir := @localedir@
|
|||||||
|
|
||||||
else # PGXS case
|
else # PGXS case
|
||||||
|
|
||||||
bindir := $(shell pg_config --bindir)
|
PG_CONFIG = pg_config
|
||||||
datadir := $(shell pg_config --sharedir)
|
|
||||||
sysconfdir := $(shell pg_config --sysconfdir)
|
bindir := $(shell $(PG_CONFIG) --bindir)
|
||||||
libdir := $(shell pg_config --libdir)
|
datadir := $(shell $(PG_CONFIG) --sharedir)
|
||||||
pkglibdir := $(shell pg_config --pkglibdir)
|
sysconfdir := $(shell $(PG_CONFIG) --sysconfdir)
|
||||||
includedir := $(shell pg_config --includedir)
|
libdir := $(shell $(PG_CONFIG) --libdir)
|
||||||
pkgincludedir := $(shell pg_config --pkgincludedir)
|
pkglibdir := $(shell $(PG_CONFIG) --pkglibdir)
|
||||||
mandir := $(shell pg_config --mandir)
|
includedir := $(shell $(PG_CONFIG) --includedir)
|
||||||
docdir := $(shell pg_config --docdir)
|
pkgincludedir := $(shell $(PG_CONFIG) --pkgincludedir)
|
||||||
localedir := $(shell pg_config --localedir)
|
mandir := $(shell $(PG_CONFIG) --mandir)
|
||||||
|
docdir := $(shell $(PG_CONFIG) --docdir)
|
||||||
|
localedir := $(shell $(PG_CONFIG) --localedir)
|
||||||
|
|
||||||
endif # PGXS
|
endif # PGXS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user