blob: 58b7f2b0530d35d23d6a3404e703691d53f081d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#-------------------------------------------------------------------------
#
# Makefile for src/bin/pgaccess
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile,v 1.9 2000/06/27 00:31:34 petere Exp $
#
#-------------------------------------------------------------------------
subdir = src/bin/pgaccess
top_builddir = ../../..
include ../../Makefile.global
pgaccessdir = $(datadir)/pgaccess
all: pgaccess
pgaccess: pgaccess.sh
sed -e 's,__wish__,$(WISH),' -e 's,__PGACCESSHOME__,$(pgaccessdir),' < $< > $@
install: all installdirs
$(INSTALL_SCRIPT) pgaccess $(bindir)/pgaccess
$(INSTALL_SCRIPT) main.tcl $(pgaccessdir)
$(INSTALL_DATA) lib/*.tcl $(pgaccessdir)/lib
$(INSTALL_DATA) lib/help/*.hlp $(pgaccessdir)/lib/help
$(INSTALL_DATA) lib/languages/[a-z]* $(pgaccessdir)/lib/languages
$(INSTALL_DATA) images/*.gif $(pgaccessdir)/images
installdirs:
$(mkinstalldirs) $(bindir) $(pgaccessdir)/lib/help $(pgaccessdir)/lib/languages $(pgaccessdir)/images
uninstall:
rm -f $(bindir)/pgaccess
rm -rf $(pgaccessdir)
clean distclean maintainer-clean:
rm -f pgaccess
|