Tom Lane wrote:
> The current logic in src/test/Makefile, particularly the way that
> the modules subdirectory is handled, seems pretty ugly/convoluted
> anyway. I wonder why it was done that way rather than just ensuring
> that modules/ doesn't do anything for "make install"?
Because we do want to have the Makefile in src/test/modules to install
the modules if "make install" is invoked there. That way, you can run
"make -C src/test/modules install installcheck", and it works.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services