Update pgaccess makefile for 0.98

This commit is contained in:
Bruce Momjian 1999-10-31 11:50:03 +00:00
parent 5b9d655ba7
commit b19013cfb7
6 changed files with 44 additions and 32 deletions

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.44 1999/10/12 14:46:26 momjian Exp $
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.45 1999/10/31 11:50:02 momjian Exp $
#
#-------------------------------------------------------------------------
@ -91,6 +91,7 @@ distclean: clean
backend/utils/Gen_fmgrtab.sh \
bin/pg_dump/Makefile \
bin/pg_version/Makefile \
bin/pgaccess/Makefile \
bin/psql/Makefile \
bin/pgtclsh/mkMakefile.tcldefs.sh \
bin/pgtclsh/mkMakefile.tkdefs.sh \

View File

@ -1,21 +0,0 @@
#-------------------------------------------------------------------------
#
# Makefile
# Makefile for pgaccess
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile,v 1.5 1999/10/30 21:21:50 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
.PHONY: all clean
all clean:
.PHONY: install
install:
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess

View File

@ -0,0 +1,31 @@
#-------------------------------------------------------------------------
#
# Makefile
# Makefile for pgaccess
#
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile.in,v 1.1 1999/10/31 11:50:03 momjian Exp $
#
#-------------------------------------------------------------------------
SRCDIR= ../..
include $(SRCDIR)/Makefile.global
all: pgaccess
pgaccess: pgaccess.sh
sed -e 's/__wish__/@wish@/' \
sed -e 's/__POSTGRESDIR__/$(POSTGRESDIR)/' \
pgaccess.sh > pgaccess
install:
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
$(INSTALL) $(INSTL_EXE_OPTS) lib/* $(POSTGRESDIR)/pgaccess/lib
# $(INSTALL) $(INSTL_EXE_OPTS) lib/help/* $(POSTGRESDIR)/pgaccess/lib/help
# $(INSTALL) $(INSTL_EXE_OPTS) lib/languages/* $(POSTGRESDIR)/pgaccess/lib/languages
clean:
rm -f pgaccess

View File

@ -1,10 +0,0 @@
#!/bin/sh
PATH_TO_WISH=/usr/bin/wish
PGACCESS_HOME=/usr/local/pgaccess
export PATH_TO_WISH
export PGACCESS_HOME
exec ${PATH_TO_WISH} ${PGACCESS_HOME}/main.tcl "$@"

9
src/bin/pgaccess/pgaccess.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
PATH_TO_WISH= __wish__
PGACCESS_HOME=__POSTGRESDIR__/pgaccess
export PATH_TO_WISH
export PGACCESS_HOME
exec $(PATH_TO_WISH) $(PGACCESS_HOME)/main.tcl "$@"

View File

@ -1120,6 +1120,7 @@ then
else
AC_MSG_RESULT($TK_CONFIG_SH)
AC_SUBST(TK_CONFIG_SH)
AC_PATH_PROG(wish, wish)
fi
fi
@ -1213,6 +1214,7 @@ AC_OUTPUT(
backend/utils/Gen_fmgrtab.sh
bin/pg_dump/Makefile
bin/pg_version/Makefile
bin/pgaccess/Makefile
bin/psql/Makefile
bin/pgtclsh/mkMakefile.tcldefs.sh
bin/pgtclsh/mkMakefile.tkdefs.sh