Date: Wed, 29 Nov 2017 08:55:47 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51236 - head/en_US.ISO8859-1/books/porters-handbook/makefiles Message-ID: <201711290855.vAT8tlgi079238@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Wed Nov 29 08:55:47 2017 New Revision: 51236 URL: https://svnweb.freebsd.org/changeset/doc/51236 Log: Change an important bit from a tip to an important tag, and add an example of what not to do. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Nov 29 06:13:15 2017 (r51235) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Wed Nov 29 08:55:47 2017 (r51236) @@ -6766,7 +6766,7 @@ BIN3_BUILD= yes BIN3_BUILD= no .endif</programlisting> - <tip> + <important> <para>Values containing whitespace must be enclosed in quotes:</para> @@ -6780,7 +6780,15 @@ BIN3_BUILD= no intended there to be only one string, <literal>foo=bar baz</literal>. Quoting the value prevents whitespace from being used as a delimiter.</para> - </tip> + + <para>Also, <emphasis>do not</emphasis> add extra spaces + after the + <literal><replaceable>var</replaceable>=</literal> sign + and before the value, it would also be split into two + strings. <emphasis>This will not work</emphasis>:</para> + + <programlisting>OPT_VARS= foo= bar</programlisting> + </important> </sect3> <sect3 xml:id="options-dependencies">
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711290855.vAT8tlgi079238>