|
1 | 1 | # -*-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 $ |
3 | 3 |
|
4 | 4 | #------------------------------------------------------------------------------
|
5 | 5 | # All PostgreSQL makefiles include this file and use the variables it sets,
|
@@ -105,11 +105,14 @@ mandir := @mandir@
|
105 | 105 | sqlmansect_dummy = l
|
106 | 106 |
|
107 | 107 | docdir := @docdir@
|
| 108 | +# docdir can be an empty string to signify --without-docdir |
| 109 | +ifneq (,$(docdir)) |
108 | 110 | ifeq "$(findstring pgsql,$(docdir))" ""
|
109 | 111 | ifeq "$(findstring postgres,$(docdir))" ""
|
110 | 112 | overridedocdir :=$(docdir)/postgresql
|
111 | 113 | endif
|
112 | 114 | endif
|
| 115 | +endif |
113 | 116 |
|
114 | 117 | localedir := @localedir@
|
115 | 118 |
|
|