提交 ec9f81b4 编写于 作者: A Alvaro Herrera

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

上级 3d376fce
......@@ -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
......
......@@ -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'.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册