mirror of
https://github.com/postgres/postgres.git
synced 2025-06-10 09:21:54 +03:00
Make --without-docdir configure option actually work, per Manfred.
This commit is contained in:
parent
5fc1046f2f
commit
a712570880
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-makefile-*-
|
||||||
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.187 2004/05/22 00:34:49 tgl Exp $
|
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.188 2004/05/23 15:24:32 tgl 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,
|
||||||
@ -105,11 +105,14 @@ mandir := @mandir@
|
|||||||
sqlmansect_dummy = l
|
sqlmansect_dummy = l
|
||||||
|
|
||||||
docdir := @docdir@
|
docdir := @docdir@
|
||||||
|
# docdir can be an empty string to signify --without-docdir
|
||||||
|
ifneq (,$(docdir))
|
||||||
ifeq "$(findstring pgsql, $(docdir))" ""
|
ifeq "$(findstring pgsql, $(docdir))" ""
|
||||||
ifeq "$(findstring postgres, $(docdir))" ""
|
ifeq "$(findstring postgres, $(docdir))" ""
|
||||||
override docdir := $(docdir)/postgresql
|
override docdir := $(docdir)/postgresql
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
localedir := @localedir@
|
localedir := @localedir@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user