summaryrefslogtreecommitdiff
path: root/src/bin/initdb/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-09-08 18:29:28 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-09-08 18:29:28 +0000
commitda06bc1d4088508781a82737365a486c2927a2f8 (patch)
tree11190416a85c3b872407293afdc1d948233b69db /src/bin/initdb/Makefile
parentf2bfe8a24c46133f81e188653a127f939eb33c4a (diff)
downloadpostgresql-da06bc1d4088508781a82737365a486c2927a2f8.tar.gz
Make building scripts kind of consistent in look and feel, kind of immune
to parallel make, kind of resistent to corruption due to incomplete builds.
Diffstat (limited to 'src/bin/initdb/Makefile')
-rw-r--r--src/bin/initdb/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile
index f8f656f81c..d856f8b4db 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.22 2000/09/01 13:15:27 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.23 2000/09/08 18:29:21 petere Exp $
#
#-------------------------------------------------------------------------
@@ -15,14 +15,12 @@ include $(top_builddir)/src/Makefile.global
all: initdb
initdb: initdb.sh $(top_builddir)/src/Makefile.global
- rm -f $@ $@.tmp
sed -e 's/@MULTIBYTE@/$(MULTIBYTE)/g' \
-e 's/@VERSION@/$(VERSION)/g' \
-e 's,@bindir@,$(bindir),g' \
-e 's,@datadir@,$(datadir),g' \
- $< >$@.tmp
- chmod a+x $@.tmp
- mv $@.tmp $@
+ $< >$@
+ chmod a+x $@
install: all installdirs
$(INSTALL_SCRIPT) initdb $(bindir)/initdb