mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Update for 0.98 pgaccess
This commit is contained in:
@@ -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.1.4.3 1999/10/30 21:22:07 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR= ../..
|
||||
include $(SRCDIR)/Makefile.global
|
||||
|
||||
.PHONY: all clean
|
||||
all clean:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
|
35
src/bin/pgaccess/Makefile.in
Normal file
35
src/bin/pgaccess/Makefile.in
Normal file
@@ -0,0 +1,35 @@
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# 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.2.2.1 1999/10/31 12:34:10 momjian Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR= ../..
|
||||
include $(SRCDIR)/Makefile.global
|
||||
|
||||
all: pgaccess
|
||||
|
||||
pgaccess: pgaccess.sh
|
||||
sed -e 's;__wish__;@wish@;' pgaccess.sh | \
|
||||
sed -e 's;__POSTGRESDIR__;$(POSTGRESDIR);' \
|
||||
> pgaccess
|
||||
|
||||
install:
|
||||
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
|
||||
@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
|
||||
$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
|
||||
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib ]; then mkdir $(POSTGRESDIR)/pgaccess/lib; fi
|
||||
$(INSTALL) $(INSTLOPTS) lib/*.tcl $(POSTGRESDIR)/pgaccess/lib
|
||||
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/help ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/help; fi
|
||||
$(INSTALL) $(INSTLOPTS) lib/help/*.hlp $(POSTGRESDIR)/pgaccess/lib/help
|
||||
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/languages ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/languages; fi
|
||||
$(INSTALL) $(INSTLOPTS) lib/languages/[a-z]* $(POSTGRESDIR)/pgaccess/lib/languages
|
||||
|
||||
clean:
|
||||
rm -f pgaccess
|
@@ -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
9
src/bin/pgaccess/pgaccess.sh
Executable 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 "$@"
|
@@ -1093,6 +1093,7 @@ then
|
||||
else
|
||||
AC_MSG_RESULT($TK_CONFIG_SH)
|
||||
AC_SUBST(TK_CONFIG_SH)
|
||||
AC_PATH_PROG(wish, wish)
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1186,9 +1187,10 @@ AC_OUTPUT(
|
||||
backend/utils/Gen_fmgrtab.sh
|
||||
bin/pg_dump/Makefile
|
||||
bin/pg_version/Makefile
|
||||
bin/psql/Makefile
|
||||
bin/pgaccess/Makefile
|
||||
bin/pgtclsh/mkMakefile.tcldefs.sh
|
||||
bin/pgtclsh/mkMakefile.tkdefs.sh
|
||||
bin/psql/Makefile
|
||||
include/version.h
|
||||
interfaces/libpq/Makefile
|
||||
interfaces/ecpg/lib/Makefile
|
||||
|
Reference in New Issue
Block a user