diff --git a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml index 028e53c66f..ff05230b91 100644 --- a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -3691,6 +3691,13 @@ PLIST_SUB+= OPT1="" NO_OPT1="@comment " .else PLIST_SUB+= OPT1="@comment " NO_OPT1="" .endif + + + The value of OPTIONS_SUB is + ignored. Setting it to any value will add + PLIST_SUB entries for + all options. + @@ -4027,6 +4034,36 @@ LIB_DEPENDS+= liba.so:${PORTSDIR}/devel/a + + Some of these variables, at least + ALL_TARGET and + INSTALL_TARGET, have their default + values set after the options are + processed. + + With the following lines in the + Makefile: + + ALL_TARGET= all + +DOCS_ALL_TARGET= doc + + If the DOCS option is enabled, + ALL_TARGET will have a final value of + all doc; if the option is disabled, it + would have a value of all. + + With only the options helper line in the + Makefile: + + DOCS_ALL_TARGET= doc + + If the DOCS option is enabled, + ALL_TARGET will have a final value of + doc; if the option is disabled, it + would have a value of all. + + <varname><replaceable>X</replaceable>_<replaceable>ABOVEVARIABLE</replaceable></varname>