From 55d5b58538f1adbba7a7b1a1e7ad0b2a665f1f45 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri, 17 Nov 2000 00:08:57 +0000
Subject: [PATCH] GNUmakefile failed to provide a way to invoke perl Makefile's
 'make test' target.

---
 src/interfaces/perl5/GNUmakefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/interfaces/perl5/GNUmakefile b/src/interfaces/perl5/GNUmakefile
index d6be1c1e9b..c82ae59f08 100644
--- a/src/interfaces/perl5/GNUmakefile
+++ b/src/interfaces/perl5/GNUmakefile
@@ -4,7 +4,7 @@
 # Makefile according to its own ideas and then invoke the rules from
 # that file.
 #
-# $Header: /cvsroot/pgsql/src/interfaces/perl5/Attic/GNUmakefile,v 1.4 2000/11/16 16:21:55 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/perl5/Attic/GNUmakefile,v 1.5 2000/11/17 00:08:57 tgl Exp $
 
 subdir = src/interfaces/perl5
 top_builddir = ../../..
@@ -21,6 +21,9 @@ Makefile: Makefile.PL
 libpq-all:
 	$(MAKE) -C $(libpq_builddir) all
 
+test: Makefile
+	$(MAKE) -f $< test
+
 # The klugery here is to ensure that the perl5 shared library gets
 # built with the correct path to the installed location of libpq
 # during `make install', but is built against the local tree during
-- 
2.40.0