Skip to content

Commit a712570

Browse files
committed
Make --without-docdir configure option actually work, per Manfred.
1 parent 5fc1046 commit a712570

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Makefile.global.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.187 2004/05/22 00:34:49 tgl Exp $
2+
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.188 2004/05/23 15:24:32 tgl Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -105,11 +105,14 @@ mandir := @mandir@
105105
sqlmansect_dummy = l
106106

107107
docdir := @docdir@
108+
# docdir can be an empty string to signify --without-docdir
109+
ifneq (,$(docdir))
108110
ifeq "$(findstring pgsql, $(docdir))" ""
109111
ifeq "$(findstring postgres, $(docdir))" ""
110112
override docdir := $(docdir)/postgresql
111113
endif
112114
endif
115+
endif
113116

114117
localedir := @localedir@
115118

0 commit comments

Comments
 (0)