1 #-------------------------------------------------------------------------
3 # Makefile for src/bin/initdb
5 # Copyright (c) 1994, Regents of the University of California
7 # $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.20 2000/07/06 21:33:38 petere Exp $
9 #-------------------------------------------------------------------------
11 subdir = src/bin/initdb
12 top_builddir = ../../..
13 include ../../Makefile.global
17 initdb: initdb.sh ../../Makefile.global
18 sed -e 's/__MULTIBYTE__/$(MULTIBYTE)/g' \
19 -e 's/__VERSION__/$(VERSION)/g' \
20 -e 's:__bindir__:$(bindir):g' \
21 -e 's:__datadir__:$(datadir):g' \
24 install: all installdirs
25 $(INSTALL_SCRIPT) initdb $(bindir)/initdb
28 $(mkinstalldirs) $(bindir)
31 rm -f $(bindir)/initdb
33 clean distclean maintainer-clean: