File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
test/modules/libpq_pipeline Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -1672,6 +1672,16 @@ include $(PGXS)
16721672 </listitem>
16731673 </varlistentry>
16741674
1675+ <varlistentry>
1676+ <term><varname>NO_INSTALL</varname></term>
1677+ <listitem>
1678+ <para>
1679+ don't define an <literal>install</literal> target, useful for test
1680+ modules that don't need their build products to be installed
1681+ </para>
1682+ </listitem>
1683+ </varlistentry>
1684+
16751685 <varlistentry>
16761686 <term><varname>NO_INSTALLCHECK</varname></term>
16771687 <listitem>
Original file line number Diff line number Diff line change 4949# TAP_TESTS -- switch to enable TAP tests
5050# ISOLATION -- list of isolation test cases
5151# ISOLATION_OPTS -- additional switches to pass to pg_isolation_regress
52+ # NO_INSTALL -- don't define an install target, useful for test modules
53+ # that don't need their build products to be installed
5254# NO_INSTALLCHECK -- don't define an installcheck target, useful e.g. if
5355# tests require special configuration, or don't use pg_regress
5456# EXTRA_CLEAN -- extra files to remove in 'make clean'
@@ -227,6 +229,8 @@ all: all-lib
227229endif # MODULE_big
228230
229231
232+ ifndef NO_INSTALL
233+
230234install : all installdirs
231235ifneq (,$(EXTENSION ) )
232236 $(INSTALL_DATA) $(addprefix $(srcdir)/, $(addsuffix .control, $(EXTENSION))) '$(DESTDIR)$(datadir)/extension/'
@@ -336,6 +340,15 @@ endif # with_llvm
336340uninstall : uninstall-lib
337341endif # MODULE_big
338342
343+ else # NO_INSTALL
344+
345+ # Need this so that temp-install builds artifacts not meant for
346+ # installation (Normally, check should depend on all, but we don't do
347+ # that because of parallel make risk (dbf2ec1a1c0).)
348+ install : all
349+
350+ endif # NO_INSTALL
351+
339352
340353clean :
341354ifdef MODULES
Original file line number Diff line number Diff line change 33PROGRAM = libpq_pipeline
44OBJS = libpq_pipeline.o
55
6+ NO_INSTALL = 1
7+
68PG_CPPFLAGS = -I$(libpq_srcdir )
79PG_LIBS_INTERNAL += $(libpq_pgport )
810
You can’t perform that action at this time.
0 commit comments