Skip to content

Commit b531c55

Browse files
committed
Update for 0.98.
1 parent 8e28ce9 commit b531c55

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/bin/pgaccess/Makefile.in

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1994, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile.in,v 1.1 1999/10/31 11:50:03 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile.in,v 1.2 1999/10/31 12:23:41 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -16,16 +16,20 @@ include $(SRCDIR)/Makefile.global
1616
all: pgaccess
1717

1818
pgaccess: pgaccess.sh
19-
sed -e 's/__wish__/@wish@/' \
20-
sed -e 's/__POSTGRESDIR__/$(POSTGRESDIR)/' \
21-
pgaccess.sh > pgaccess
19+
sed -e 's;__wish__;@wish@;' pgaccess.sh | \
20+
sed -e 's;__POSTGRESDIR__;$(POSTGRESDIR);' \
21+
> pgaccess
2222

2323
install:
2424
$(INSTALL) $(INSTL_EXE_OPTS) pgaccess $(BINDIR)/pgaccess
25+
@if [ ! -d $(POSTGRESDIR)/pgaccess ]; then mkdir $(POSTGRESDIR)/pgaccess; fi
2526
$(INSTALL) $(INSTL_EXE_OPTS) main.tcl $(POSTGRESDIR)/pgaccess
26-
$(INSTALL) $(INSTL_EXE_OPTS) lib/* $(POSTGRESDIR)/pgaccess/lib
27-
# $(INSTALL) $(INSTL_EXE_OPTS) lib/help/* $(POSTGRESDIR)/pgaccess/lib/help
28-
# $(INSTALL) $(INSTL_EXE_OPTS) lib/languages/* $(POSTGRESDIR)/pgaccess/lib/languages
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
2933

3034
clean:
3135
rm -f pgaccess

src/bin/pgaccess/pgaccess.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

3-
PATH_TO_WISH= __wish__
3+
PATH_TO_WISH=__wish__
44
PGACCESS_HOME=__POSTGRESDIR__/pgaccess
55

66
export PATH_TO_WISH
77
export PGACCESS_HOME
88

9-
exec $(PATH_TO_WISH) $(PGACCESS_HOME)/main.tcl "$@"
9+
exec $PATH_TO_WISH $PGACCESS_HOME/main.tcl "$@"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy