]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Here are descriptions:
authorBruce Momjian <bruce@momjian.us>
Fri, 18 Dec 1998 17:53:46 +0000 (17:53 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 18 Dec 1998 17:53:46 +0000 (17:53 +0000)
- the first patch is just to preven listing the perl warning in the
  make output unless it is actually emitted by the make.  this may
  prevent new users from being confused by the warning in their output

- the second patch (to 2 files) just enables building/installing
  pgaccess if TCL and TK are available.  a Makefile is created to do
  this, but you may wish to change the heading information in it since
  I just copied another Makefile to use as a template.

I hope these make it into 6.4.1.

Cheers,
Brook

src/bin/Makefile
src/interfaces/Makefile

index 56cec86817a3cfc43f274339761c5a1d8a5daa9d..0b231ecf196b968d160b514431ef61aa63ed30ce 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.15 1998/07/26 04:31:08 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.15.2.1 1998/12/18 17:53:45 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -25,6 +25,9 @@ endif
 # TCL/TK programs
 #
 ifeq ($(USE_TCL), true)
+ifeq ($(USE_TK), true)
+       DIRS += pgaccess
+endif
        DIRS += pgtclsh
 endif
 
index 65a2f51b6fb1fbf44ed95e4be9ce3da757524f87..420f8b7b64351402c42c9584f85bcab725bd05f6 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.20 1998/10/27 21:27:36 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.20.2.1 1998/12/18 17:53:46 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -48,11 +48,11 @@ endif
 perl5/Makefile: perl5/Makefile.PL
        cd perl5 && perl Makefile.PL
 
-install-perl5:
+install-perl5: perl5/Makefile
        $(MAKE) -C perl5 clean
        cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
        $(MAKE) -C perl5 all
-       if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \
+       @if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \
                $(MAKE) $(MFLAGS) -C perl5 install; \
                rm -f perl5/Makefile; \
        else \