svn commit: r51236 - head/en_US.ISO8859-1/books/porters-handbook/makefiles

Mathieu Arnold mat at FreeBSD.org
Wed Nov 29 08:55:49 UTC 2017


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">


More information about the svn-doc-all mailing list