aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-26 18:40:50 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-26 18:40:50 +0000
commitecae3a96894eee409858e97ba31ab76b18de6a23 (patch)
tree3173ddb116d0abad1e483146627b647d5a4e8a6a
parentca0d2197ca1ed1e72243c5a3466d93e4954d30b0 (diff)
downloadpostgresql-ecae3a96894eee409858e97ba31ab76b18de6a23.tar.gz
postgresql-ecae3a96894eee409858e97ba31ab76b18de6a23.zip
Add comment about the use of pg_config_paths.h.
-rw-r--r--src/port/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/port/Makefile b/src/port/Makefile
index eaf4904c3ab..8d376f36380 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -15,7 +15,7 @@
# for use only by the backend binaries
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/port/Makefile,v 1.31 2006/05/08 02:18:50 momjian Exp $
+# $PostgreSQL: pgsql/src/port/Makefile,v 1.32 2006/06/26 18:40:50 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -64,6 +64,10 @@ thread_srv.o: thread.c
$(CC) $(CFLAGS) $(subst -DFRONTEND,, $(CPPFLAGS)) -c $< -o $@
# Dependency is to ensure that path changes propagate
+#
+# We create a separate file rather than put these in pg_config.h
+# because many of these values come from makefiles and are not
+# available to configure.
pg_config_paths.h: $(top_builddir)/src/Makefile.global
echo "#define PGBINDIR \"$(bindir)\"" >$@
echo "#define PGSHAREDIR \"$(datadir)\"" >>$@