summaryrefslogtreecommitdiff
path: root/src/bin/initdb/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-07-02 15:21:27 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-07-02 15:21:27 +0000
commit6fb9d2e347b14445b85d6c97f7d16527d41ccce6 (patch)
treeb75bd707655a8abeca16f69ed58f9391d5308c5c /src/bin/initdb/Makefile
parent07dfe9773127d82a960101a5a18bd9393dff0d40 (diff)
downloadpostgresql-6fb9d2e347b14445b85d6c97f7d16527d41ccce6.tar.gz
Version number now set in configure, available through Makefile.global
and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
Diffstat (limited to 'src/bin/initdb/Makefile')
-rw-r--r--src/bin/initdb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile
index 0224abec6e..850deb86b8 100644
--- a/src/bin/initdb/Makefile
+++ b/src/bin/initdb/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.18 2000/06/27 00:30:53 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.19 2000/07/02 15:21:00 petere Exp $
#
#-------------------------------------------------------------------------
@@ -14,8 +14,8 @@ include ../../Makefile.global
all: initdb
-initdb: initdb.sh
- sed -e 's/__MULTIBYTE__/$(MULTIBYTE)/g' < $< > $@
+initdb: initdb.sh ../../Makefile.global
+ sed -e 's/__MULTIBYTE__/$(MULTIBYTE)/g' -e 's/__VERSION__/$(VERSION)/g' < $< > $@
install: all installdirs
$(INSTALL_SCRIPT) initdb $(bindir)/initdb