head	1.10;
access;
symbols
	REL6_5_PATCHES:1.9.0.4
	REL6_5:1.9
	REL6_4:1.9.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.10
date	99.12.04.04.53.20;	author momjian;	state dead;
branches;
next	1.9;

1.9
date	98.08.22.05.19.19;	author momjian;	state Exp;
branches;
next	1.8;

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

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

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

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

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

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

1.2
date	96.11.11.13.40.04;	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.10
log
@New scripts for create/drop user/db from Peter Eisentraut
@
text
@#-------------------------------------------------------------------------
#
# Makefile.inc--
#    Makefile for bin/destroyuser
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroyuser/Makefile,v 1.9 1998/08/22 05:19:19 momjian Exp $
#
#-------------------------------------------------------------------------

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

SEDSCRIPT= \
    -e "s^PG_OPT_DASH_N_PARAM^$(DASH_N)^g" \
    -e "s^PG_OPT_BACKSLASH_C_PARAM^$(BACKSLASH_C)^g"

all: destroyuser

destroyuser: destroyuser.sh
	sed $(SEDSCRIPT) <destroyuser.sh >destroyuser

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

clean:
	rm -f destroyuser

dep depend:
@


1.9
log
@Patch to allow createuser options from the command line.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroyuser/Makefile,v 1.8 1998/04/06 16:50:05 momjian Exp $
@


1.8
log
@DESTDIR removed, again.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroyuser/Makefile,v 1.7 1998/04/06 01:14:36 momjian Exp $
d18 2
a19 2
    -e "s^_fUnKy_DASH_N_sTuFf_^$(DASH_N)^g" \
    -e "s^_fUnKy_BACKSLASH_C_sTuFf_^$(BACKSLASH_C)^g"
@


1.7
log
@Re-introduce $DISTDIR.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/bin/destroyuser/Makefile,v 1.6 1998/04/06 00:28:37 momjian Exp $
d27 1
a27 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/destroyuser/Makefile,v 1.5 1998/04/05 22:00:20 momjian Exp $
d27 1
a27 1
	$(INSTALL) $(INSTL_EXE_OPTS) $< $(BINDIR)/$<
@


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


1.4
log
@Add empty "dep:" target.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/bin/destroyuser/Makefile,v 1.3 1996/11/14 10:25:16 bryanh Exp $
d27 1
a27 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/createuser/Makefile,v 1.1.1.1 1996/07/09 06:22:12 scrappy Exp $
d31 2
@


1.2
log
@Makefile simplification: the "bin" chapter
@
text
@a17 2
    -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
    -e "s^_fUnKy_POSTPORT_sTuFf_^$(POSTPORT)^g" \
d23 1
a23 1
destroyuser:
@


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


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