head	1.16;
access;
symbols
	REL7_4_29:1.14
	REL7_4_28:1.14
	REL7_4_27:1.14
	REL7_4_26:1.14
	REL7_4_25:1.14
	REL7_4_24:1.14
	REL7_4_23:1.14
	REL7_4_22:1.14
	REL7_4_21:1.14
	REL7_4_20:1.14
	REL7_3_21:1.14
	REL7_4_19:1.14
	REL7_3_20:1.14
	REL7_4_18:1.14
	REL7_3_19:1.14
	REL7_4_17:1.14
	REL7_3_18:1.14
	REL7_4_16:1.14
	REL7_4_15:1.14
	REL7_3_17:1.14
	REL7_4_14:1.14
	REL7_3_16:1.14
	REL7_3_15:1.14
	REL7_4_13:1.14
	REL7_3_14:1.14
	REL7_4_12:1.14
	REL7_3_13:1.14
	REL7_4_11:1.14
	REL7_3_12:1.14
	REL7_4_10:1.14
	REL7_3_11:1.14
	REL7_4_9:1.14
	REL7_2_8:1.13
	REL7_3_10:1.14
	REL7_4_8:1.14
	REL7_2_7:1.13
	REL7_3_9:1.14
	REL7_4_7:1.14
	REL7_4_6:1.14
	REL7_3_8:1.14
	REL7_2_6:1.13
	REL7_2_5:1.13
	REL7_4_5:1.14
	REL7_3_7:1.14
	REL7_4_4:1.14
	REL7_4_3:1.14
	REL7_4_2:1.14
	REL7_3_6:1.14
	REL7_4_1:1.14
	REL7_3_5:1.14
	REL7_4:1.14
	REL7_4_RC2:1.14
	REL7_4_STABLE:1.14.0.6
	REL7_4_RC1:1.14
	REL7_4_BETA5:1.14
	REL7_4_BETA4:1.14
	REL7_4_BETA3:1.14
	REL7_4_BETA2:1.14
	WIN32_DEV:1.14.0.4
	REL7_4_BETA1:1.14
	REL7_3_4:1.14
	REL7_3_2:1.14
	REL7_2_4:1.13
	REL7_3_STABLE:1.14.0.2
	REL7_2_3:1.13
	REL7_2_STABLE:1.13.0.4
	REL7_2:1.13
	REL7_2_RC2:1.13
	REL7_2_RC1:1.13
	REL7_2_BETA5:1.13
	REL7_2_BETA4:1.13
	REL7_2_BETA3:1.13
	REL7_2_BETA2:1.13
	REL7_2_BETA1:1.13
	REL7_1_2:1.13
	REL7_1_STABLE:1.13.0.2
	REL7_1_BETA:1.12
	REL7_1_BETA3:1.12
	REL7_1_BETA2:1.12
	REL7_1:1.13
	REL7_0_PATCHES:1.8.0.2
	REL7_0:1.8
	REL6_5_PATCHES:1.7.0.2
	REL6_5:1.7
	REL6_4:1.6.0.2
	release-6-3:1.1;
locks; strict;
comment	@# @;


1.16
date	2004.06.18.21.24.06;	author tgl;	state dead;
branches;
next	1.15;

1.15
date	2003.11.29.19.52.04;	author pgsql;	state Exp;
branches;
next	1.14;

1.14
date	2002.06.20.20.29.41;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.18.18.33.59;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	2000.09.17.13.02.32;	author petere;	state Exp;
branches;
next	1.11;

1.11
date	2000.09.08.18.29.22;	author petere;	state Exp;
branches;
next	1.10;

1.10
date	2000.08.31.16.11.07;	author petere;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.27.00.31.00;	author petere;	state Exp;
branches;
next	1.8;

1.8
date	99.12.08.10.29.43;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	99.06.04.21.12.06;	author tgl;	state Exp;
branches;
next	1.6;

1.6
date	98.08.22.05.19.25;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	98.04.06.16.50.30;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	98.04.06.01.15.01;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	98.04.06.00.29.00;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	98.04.05.22.00.40;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	97.11.07.06.21.34;	author thomas;	state Exp;
branches;
next	;


desc
@@


1.16
log
@initlocation is history.  (It's still mentioned in manage-ag.sgml,
but I'll leave that file alone so as not to mess up the doc patch
I trust Gavin is working on.)
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/bin/initlocation
#
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql-server/src/bin/initlocation/Makefile,v 1.15 2003/11/29 19:52:04 pgsql Exp $
#
#-------------------------------------------------------------------------

subdir = src/bin/initlocation
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

all: initlocation

initlocation: initlocation.sh
	cp $< $@@
	chmod a+x $@@

install: all installdirs
	$(INSTALL_SCRIPT) initlocation $(DESTDIR)$(bindir)/initlocation

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(bindir)

uninstall:
	rm -f $(DESTDIR)$(bindir)/initlocation

clean distclean maintainer-clean:
	rm -f initlocation
@


1.15
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d8 1
a8 1
# $PostgreSQL: /cvsroot/pgsql-server/src/bin/initlocation/Makefile,v 1.14 2002/06/20 20:29:41 momjian Exp $
@


1.14
log
@Update copyright to 2002.
@
text
@d8 1
a8 1
# $Header: /cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.13 2001/02/18 18:33:59 momjian Exp $
@


1.13
log
@Add copyright mentions, per Tom Lane.
@
text
@d5 1
a5 1
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
d8 1
a8 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.12 2000/09/17 13:02:32 petere Exp $
@


1.12
log
@Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@@gnu.org, From: Akim Demaille <akim@@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
@
text
@d5 2
a6 1
# Copyright (c) 1994, Regents of the University of California
d8 1
a8 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.11 2000/09/08 18:29:22 petere Exp $
@


1.11
log
@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.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.10 2000/08/31 16:11:07 petere Exp $
d22 1
a22 1
	$(INSTALL_SCRIPT) initlocation $(bindir)/initlocation
d25 1
a25 1
	$(mkinstalldirs) $(bindir)
d28 1
a28 1
	rm -f $(bindir)/initlocation
@


1.10
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.9 2000/06/27 00:31:00 petere Exp $
d19 1
@


1.9
log
@Makefile cleanup for bin and pl subtrees. They should now support
all the standard semantics. Also get rid of Makefile.in's on the
way and instead declare all variables in Makefile.global.
@
text
@d7 1
a7 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.8 1999/12/08 10:29:43 momjian Exp $
d13 1
a13 1
include ../../Makefile.global
@


1.8
log
@Change $< to $+ in scripts Makefile, and clean up pg_encoding if logic.
@
text
@d3 1
a3 2
# Makefile.inc--
#    Makefile for bin/initlocation
d7 1
a7 3
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.7 1999/06/04 21:12:06 tgl Exp $
d11 2
a12 1
SRCDIR= ../..
d18 4
a21 1
	cp -p initlocation.sh initlocation
d23 2
a24 2
install: initlocation
	$(INSTALL) $(INSTL_EXE_OPTS) $+ $(BINDIR)
d26 4
a29 1
clean:
a30 2

dep depend:
@


1.7
log
@Turns out OIDNAMELEN wasn't really being used at all!
Get rid of it to make customization of NAMEDATALEN easier.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.6 1998/08/22 05:19:25 momjian Exp $
d23 1
a23 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
@


1.6
log
@Patch to allow createuser options from the command line.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.5 1998/04/06 16:50:30 momjian Exp $
a15 4

SEDSCRIPT= \
    -e "s^PG_OPT_NAMEDATALEN_PARAM^$(NAMEDATALEN)^g" \
    -e "s^PG_OPT_OIDNAMELEN_PARAM^$(OIDNAMELEN)^g" 
@


1.5
log
@DESTDIR removed, again.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.4 1998/04/06 01:15:01 momjian Exp $
d18 2
a19 2
    -e "s^_fUnKy_NAMEDATALEN_sTuFf_^$(NAMEDATALEN)^g" \
    -e "s^_fUnKy_OIDNAMELEN_sTuFf_^$(OIDNAMELEN)^g" 
@


1.4
log
@Re-introduce $DISTDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.3 1998/04/06 00:29:00 momjian Exp $
d27 1
a27 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
@


1.3
log
@Hi,

Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.

It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.

This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )

This patch is against the 6.3 sources, as it took a while to
complete.

Please review and apply,

Cheers,

Jeroen van Vianen
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.2 1998/04/05 22:00:40 momjian Exp $
d27 1
a27 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
@


1.2
log
@Remove DISTDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.1 1997/11/07 06:21:34 thomas Exp $
d32 1
a32 1
dep:
@


1.1
log
@Create alternate location(s) for databases.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/initlocation/Makefile,v 1.0 1996/12/10 03:40:08 thomas Exp $
d27 1
a27 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
@
