mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Update pgaccess makefile for 0.98
This commit is contained in:
parent
5b9d655ba7
commit
b19013cfb7
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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 \
|
backend/utils/Gen_fmgrtab.sh \
|
||||||
bin/pg_dump/Makefile \
|
bin/pg_dump/Makefile \
|
||||||
bin/pg_version/Makefile \
|
bin/pg_version/Makefile \
|
||||||
|
bin/pgaccess/Makefile \
|
||||||
bin/psql/Makefile \
|
bin/psql/Makefile \
|
||||||
bin/pgtclsh/mkMakefile.tcldefs.sh \
|
bin/pgtclsh/mkMakefile.tcldefs.sh \
|
||||||
bin/pgtclsh/mkMakefile.tkdefs.sh \
|
bin/pgtclsh/mkMakefile.tkdefs.sh \
|
||||||
|
@ -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
|
|
31
src/bin/pgaccess/Makefile.in
Normal file
31
src/bin/pgaccess/Makefile.in
Normal 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
|
@ -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 "$@"
|
@ -1120,6 +1120,7 @@ then
|
|||||||
else
|
else
|
||||||
AC_MSG_RESULT($TK_CONFIG_SH)
|
AC_MSG_RESULT($TK_CONFIG_SH)
|
||||||
AC_SUBST(TK_CONFIG_SH)
|
AC_SUBST(TK_CONFIG_SH)
|
||||||
|
AC_PATH_PROG(wish, wish)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1213,6 +1214,7 @@ AC_OUTPUT(
|
|||||||
backend/utils/Gen_fmgrtab.sh
|
backend/utils/Gen_fmgrtab.sh
|
||||||
bin/pg_dump/Makefile
|
bin/pg_dump/Makefile
|
||||||
bin/pg_version/Makefile
|
bin/pg_version/Makefile
|
||||||
|
bin/pgaccess/Makefile
|
||||||
bin/psql/Makefile
|
bin/psql/Makefile
|
||||||
bin/pgtclsh/mkMakefile.tcldefs.sh
|
bin/pgtclsh/mkMakefile.tcldefs.sh
|
||||||
bin/pgtclsh/mkMakefile.tkdefs.sh
|
bin/pgtclsh/mkMakefile.tkdefs.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user