]> granicus.if.org Git - postgresql/commitdiff
Make --without-docdir configure option actually work, per Manfred.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 May 2004 15:24:32 +0000 (15:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 May 2004 15:24:32 +0000 (15:24 +0000)
src/Makefile.global.in

index 7a9183eed378e106cf3aa4115020b41e730278ea..6ee0ceb281a2c6cecda2b808e8efcc9df49459d9 100644 (file)
@@ -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@