Skip to content

Commit ec9f81b

Browse files
committed
Install pg_regress where PGXS' "make installcheck" can find it.
1 parent 3d376fc commit ec9f81b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/Makefile,v 1.36 2005/01/13 18:23:21 tgl Exp $
7+
# $PostgreSQL: pgsql/src/Makefile,v 1.37 2005/11/28 12:03:56 alvherre Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -24,6 +24,7 @@ all install installdirs uninstall dep depend distprep:
2424
$(MAKE) -C pl $@
2525
$(MAKE) -C makefiles $@
2626
$(MAKE) -C utils $@
27+
$(MAKE) -C test/regress $@
2728

2829
install: install-local
2930

src/test/regress/GNUmakefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California
88
#
9-
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.53 2005/11/01 15:09:11 adunstan Exp $
9+
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.54 2005/11/28 12:03:56 alvherre Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -55,6 +55,12 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
5555
$< >$@
5656
chmod a+x $@
5757

58+
install: pg_regress
59+
$(INSTALL_SCRIPT) pg_regress $(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress
60+
61+
uninstall:
62+
rm -f $(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress
63+
5864

5965
# Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.
6066

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