svn commit: r43210 - head/en_US.ISO8859-1/books/porters-handbook
Eitan Adler
eadler at FreeBSD.org
Thu Nov 21 01:29:58 UTC 2013
Author: eadler
Date: Thu Nov 21 01:29:58 2013
New Revision: 43210
URL: http://svnweb.freebsd.org/changeset/doc/43210
Log:
Massively simplify the section which explains how to use IGNORE.
There is no reason to explain the .if construct here.
Modified:
head/en_US.ISO8859-1/books/porters-handbook/book.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml Thu Nov 21 01:23:22 2013 (r43209)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Thu Nov 21 01:29:58 2013 (r43210)
@@ -12125,22 +12125,14 @@ exec %%LOCALBASE%%/bin/java -jar %%DATAD
<example xml:id="dot-error-breaks-index">
<title>How to Avoid Using <literal>.error</literal></title>
- <para>Assume that someone has the line</para>
-
- <programlisting>USE_POINTYHAT=yes</programlisting>
-
- <para>in <filename>make.conf</filename>. The first of the
+ <para>The first of the
next two <filename>Makefile</filename> snippets will cause
<command>make index</command> to fail, while the second one
will not:</para>
- <programlisting>.if USE_POINTYHAT
-.error "POINTYHAT is not supported"
-.endif</programlisting>
-
- <programlisting>.if USE_POINTYHAT
-IGNORE= POINTYHAT is not supported
-.endif</programlisting>
+ <programlisting>.error "option is not supported"</programlisting>
+
+ <programlisting>IGNORE=option is not supported</programlisting>
</example>
</sect1>
More information about the svn-doc-head
mailing list