Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 01:29:58 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r43210 - head/en_US.ISO8859-1/books/porters-handbook
Message-ID:  <201311210129.rAL1TwZG058186@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311210129.rAL1TwZG058186>