8000 Update for 0.98 pgaccess · tomdcc/postgres@0f256e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f256e7

Browse files
committed
Update for 0.98 pgaccess
1 parent f3b4c0d commit 0f256e7

File tree

5 files changed

+47
-32
lines changed

5 files changed

+47
-32
lines changed

src/bin/pgaccess/Makefile

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/bin/pgaccess/Makefile.in

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile
4+
# Makefile for pgaccess
5+
#
6+
# Copyright (c) 1994, Regents of the University of California
7+
#
8+
# IDENTIFICATION
9+
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile.in,v 1.2.2.1 1999/10/31 12:34:10 momjian Exp $
10+
#
11+
#-------------------------------------------------------------------------
12+
13+
SRCDIR= ../..
14+
include $(SRCDIR)/Makefile.global
15+
16+
all: pgaccess
17+
18+
pgaccess: pgaccess.sh
19+
sed -e 's;__wish__;@wish@;' pgaccess.sh | \
20+
sed -e 's;__POSTGRESDIR__;$(POSTGRESDIR);' \
21+
> pgaccess
22+
23+
install:
24+
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
25+
@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
26+
$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
27+
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib ]; then mkdir $(POSTGRESDIR)/pgaccess/lib; fi
28+
$(INSTALL) $(INSTLOPTS) lib/*.tcl $(POSTGRESDIR)/pgaccess/lib
29+
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/help ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/help; fi
30+
$(INSTALL) $(INSTLOPTS) lib/help/*.hlp $(POSTGRESDIR)/pgaccess/lib/help
31+
@if [ ! -d $(POSTGRESDIR)/pgaccess/lib/languages ]; then mkdir $(POSTGRESDIR)/pgaccess/lib/languages; fi
32+
$(INSTALL) $(INSTLOPTS) lib/languages/[a-z]* $(POSTGRESDIR)/pgaccess/lib/languages
33+
34+
clean:
35+
rm -f pgaccess

src/bin/pgaccess/pgaccess

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/bin/pgaccess/pgaccess.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
PATH_TO_WISH=__wish__
4+
PGACCESS_HOME=__POSTGRESDIR__/pgaccess
5+
6+
export PATH_TO_WISH
7+
export PGACCESS_HOME
8+
9+
exec $PATH_TO_WISH $PGACCESS_HOME/main.tcl "$@"

src/configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ then
10931093
else
10941094
AC_MSG_RESULT($TK_CONFIG_SH)
10951095
AC_SUBST(TK_CONFIG_SH)
1096+
AC_PATH_PROG(wish, wish)
10961097
fi
10971098
fi
10981099

@@ -1186,9 +1187,10 @@ AC_OUTPUT(
11861187
backend/utils/Gen_fmgrtab.sh
11871188
bin/pg_dump/Makefile
11881189
bin/pg_version/Makefile
1189-
bin/psql/Makefile
1190+
bin/pgaccess/Makefile
11901191
bin/pgtclsh/mkMakefile.tcldefs.sh
11911192
bin/pgtclsh/mkMakefile.tkdefs.sh
1193+
bin/psql/Makefile
11921194
include/version.h
11931195
interfaces/libpq/Makefile
11941196
interfaces/ecpg/lib/Makefile

0 commit comments

Comments
 (0)
0