diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-05-23 15:24:32 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-05-23 15:24:32 +0000 |
commit | a712570880510e94fa987b891d7b6179786611a7 (patch) | |
tree | 397d14142de8887c36cce0af24a4aba3f8aa6c56 | |
parent | 5fc1046f2f0a3e08005312cc2afe5ef934aa706e (diff) | |
download | postgresql-a712570880510e94fa987b891d7b6179786611a7.tar.gz postgresql-a712570880510e94fa987b891d7b6179786611a7.zip |
Make --without-docdir configure option actually work, per Manfred.
-rw-r--r-- | src/Makefile.global.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 7a9183eed37..6ee0ceb281a 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,5 +1,5 @@ # -*-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, @@ -105,11 +105,14 @@ mandir := @mandir@ sqlmansect_dummy = l docdir := @docdir@ +# docdir can be an empty string to signify --without-docdir +ifneq (,$(docdir)) ifeq "$(findstring pgsql, $(docdir))" "" ifeq "$(findstring postgres, $(docdir))" "" override docdir := $(docdir)/postgresql endif endif +endif localedir := @localedir@ |