head	1.9;
access;
symbols
	REL6_5_PATCHES:1.8.0.4
	REL6_5:1.8
	REL6_4:1.8.0.2
	release-6-3:1.4
	REL2_0B:1.3.0.2
	REL2_0:1.3
	Release_2_0_0:1.1.1.1
	Release_1_0_3:1.1.1.1.0.2
	Release_2_0:1.1.1.1
	Release_1_0_2:1.1.1.1
	PG95-1_01:1.1.1.1
	PG95_DIST:1.1.1;
locks; strict;
comment	@# @;


1.9
date	99.12.04.04.53.19;	author momjian;	state dead;
branches;
next	1.8;

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

1.7
date	98.04.06.01.14.26;	author momjian;	state Exp;
branches;
next	1.6;

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

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

1.4
date	96.12.10.03.39.43;	author bryanh;	state Exp;
branches;
next	1.3;

1.3
date	96.11.14.10.25.10;	author bryanh;	state Exp;
branches;
next	1.2;

1.2
date	96.11.11.13.39.47;	author bryanh;	state Exp;
branches;
next	1.1;

1.1
date	96.07.09.06.22.12;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.07.09.06.22.12;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.9
log
@New scripts for create/drop user/db from Peter Eisentraut
@
text
@#-------------------------------------------------------------------------
#
# Makefile.inc--
#    Makefile for bin/destroydb
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroydb/Makefile,v 1.8 1998/04/06 16:49:51 momjian Exp $
#
#-------------------------------------------------------------------------

SRCDIR= ../..
include ../../Makefile.global

all: destroydb

destroydb: destroydb.sh
	cp destroydb.sh destroydb

install: destroydb
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<

clean:
	rm -f destroydb

dep depend:
@


1.8
log
@DESTDIR removed, again.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroydb/Makefile,v 1.7 1998/04/06 01:14:26 momjian Exp $
@


1.7
log
@Re-introduce $DISTDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroydb/Makefile,v 1.6 1998/04/06 00:28:25 momjian Exp $
d23 1
a23 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
@


1.6
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/destroydb/Makefile,v 1.5 1998/04/05 22:00:08 momjian Exp $
d23 1
a23 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
@


1.5
log
@Remove DISTDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroydb/Makefile,v 1.4 1996/12/10 03:39:43 bryanh Exp $
d28 1
a28 1
dep:
@


1.4
log
@Add empty "dep:" target.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/destroydb/Makefile,v 1.3 1996/11/14 10:25:10 bryanh Exp $
d23 1
a23 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(DESTDIR)$(BINDIR)/$<
@


1.3
log
@Remove most compile-time options, add a few runtime options to make up for it.
In particular, no more compiled-in default for PGDATA or LIBDIR.  Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/destroydb/Makefile,v 1.1.1.1 1996/07/09 06:22:12 scrappy Exp $
d27 2
@


1.2
log
@Makefile simplification: the "bin" chapter
@
text
@a16 4
SEDSCRIPT= \
    -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
    -e "s^_fUnKy_POSTPORT_sTuFf_^$(POSTPORT)^g"

d19 2
a20 2
destroydb:
	sed $(SEDSCRIPT) <destroydb.sh >destroydb
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/postgres95/src/bin/destroydb/Makefile,v 1.1.1.1 1996/07/09 05:32:34 scrappy Exp $
d14 2
a15 1
SHPROG=	destroydb
d17 3
a19 3
MKDIR=	../../mk
include $(MKDIR)/postgres.mk
include ../Makefile.global
d21 1
a21 1
include $(MKDIR)/postgres.shell.mk
d23 8
@


1.1.1.1
log
@Postgres95 1.01 Distribution - Virgin Sources
@
text
@@
