This patch allows pg_regress to be installed by default. This was
proposed awhile back but never done, any objections if I commit this?
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
Index: src/Makefile
===================================================================
RCS file: /home/alvherre/cvs/pgsql/src/Makefile,v
retrieving revision 1.36
diff -c -r1.36 Makefile
*** src/Makefile 13 Jan 2005 18:23:21 -0000 1.36
--- src/Makefile 3 Nov 2005 21:29:55 -0000
***************
*** 24,29 ****
--- 24,30 ----
$(MAKE) -C pl $@
$(MAKE) -C makefiles $@
$(MAKE) -C utils $@
+ $(MAKE) -C test/regress $@
install: install-local
Index: src/test/regress/GNUmakefile
===================================================================
RCS file: /home/alvherre/cvs/pgsql/src/test/regress/GNUmakefile,v
retrieving revision 1.53
diff -c -r1.53 GNUmakefile
*** src/test/regress/GNUmakefile 1 Nov 2005 15:09:11 -0000 1.53
--- src/test/regress/GNUmakefile 21 Nov 2005 20:42:14 -0000
***************
*** 55,60 ****
--- 55,62 ----
$< >$@
chmod a+x $@
+ install: pg_regress
+ $(INSTALL_PROGRAM) pg_regress $(DESTDIR)$(pgxsdir)/$(subdir)/pg_regress
# Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend