Install pg_regress where PGXS' "make installcheck" can find it.

This commit is contained in:
Alvaro Herrera 2005-11-28 12:03:56 +00:00
parent 3d376fce8d
commit ec9f81b4ae
2 changed files with 9 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/Makefile,v 1.36 2005/01/13 18:23:21 tgl Exp $
# $PostgreSQL: pgsql/src/Makefile,v 1.37 2005/11/28 12:03:56 alvherre Exp $
#
#-------------------------------------------------------------------------
@ -24,6 +24,7 @@ all install installdirs uninstall dep depend distprep:
$(MAKE) -C pl $@
$(MAKE) -C makefiles $@
$(MAKE) -C utils $@
$(MAKE) -C test/regress $@
install: install-local

View File

@ -6,7 +6,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.53 2005/11/01 15:09:11 adunstan Exp $
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.54 2005/11/28 12:03:56 alvherre Exp $
#
#-------------------------------------------------------------------------
@ -55,6 +55,12 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
$< >$@
chmod a+x $@
install: pg_regress
$(INSTALL_SCRIPT) pg_regress $(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress
uninstall:
rm -f $(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress
# Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.