Commit ec9f81b4 authored by Alvaro Herrera's avatar Alvaro Herrera

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

parent 3d376fce
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# Copyright (c) 1994, Regents of the University of California # 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: ...@@ -24,6 +24,7 @@ all install installdirs uninstall dep depend distprep:
$(MAKE) -C pl $@ $(MAKE) -C pl $@
$(MAKE) -C makefiles $@ $(MAKE) -C makefiles $@
$(MAKE) -C utils $@ $(MAKE) -C utils $@
$(MAKE) -C test/regress $@
install: install-local install: install-local
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group # Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California # 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 ...@@ -55,6 +55,12 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
$< >$@ $< >$@
chmod a+x $@ 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'. # Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment