diff options
Diffstat (limited to 'doc/src/sgml/extend.sgml')
-rw-r--r-- | doc/src/sgml/extend.sgml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml index 1b1adae1a63..695e07fb384 100644 --- a/doc/src/sgml/extend.sgml +++ b/doc/src/sgml/extend.sgml @@ -1227,8 +1227,13 @@ include $(PGXS) <term><varname>HEADERS_built</varname></term> <listitem> <para> - files to (optionally build and) install under - <literal><replaceable>prefix</replaceable>/include/server/$MODULEDIR/$MODULE_big</literal> + Files to (optionally build and) install under + <literal><replaceable>prefix</replaceable>/include/server/$MODULEDIR/$MODULE_big</literal>. + </para> + <para> + Unlike <literal>DATA_built</literal>, files in <literal>HEADERS_built</literal> + are not removed by the <literal>clean</literal> target; if you want them removed, + also add them to <literal>EXTRA_CLEAN</literal> or add your own rules to do it. </para> </listitem> </varlistentry> @@ -1244,6 +1249,11 @@ include $(PGXS) in <literal>MODULES</literal> or <literal>MODULE_big</literal>. </para> <para> + Unlike <literal>DATA_built</literal>, files in <literal>HEADERS_built_$MODULE</literal> + are not removed by the <literal>clean</literal> target; if you want them removed, + also add them to <literal>EXTRA_CLEAN</literal> or add your own rules to do it. + </para> + <para> It is legal to use both variables for the same module, or any combination, unless you have two module names in the <literal>MODULES</literal> list that differ only by the presence of a |