From owner-freebsd-doc@FreeBSD.ORG Sun May 23 12:48:09 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8A0116A4CE; Sun, 23 May 2004 12:48:09 -0700 (PDT) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD3F43D46; Sun, 23 May 2004 12:48:08 -0700 (PDT) (envelope-from vincent@sumuk.de) Received: from Goliath.earth.sol (Goliath.earth.sol [192.168.1.6]) by Kain.sumuk.de (8.12.10/8.12.10) with ESMTP id i4NJlst5065305; Sun, 23 May 2004 21:47:54 +0200 (CEST) (envelope-from vincent@sumuk.de) Received: from Goliath.earth.sol (localhost.earth.sol [127.0.0.1]) by Goliath.earth.sol (8.12.11/8.12.10) with ESMTP id i4NJlrO4030212; Sun, 23 May 2004 21:47:53 +0200 (CEST) (envelope-from vincent@Goliath.earth.sol) Received: (from vincent@localhost) by Goliath.earth.sol (8.12.11/8.12.11/Submit) id i4NJlrxE030211; Sun, 23 May 2004 21:47:53 +0200 (CEST) (envelope-from vincent) Date: Sun, 23 May 2004 21:47:53 +0200 From: Martin Heinen To: Mark Linimon Message-ID: <20040523194753.GC29120@sumuk.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-doc@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: RFC: minor change to Porter's Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 19:48:10 -0000 On Sat, May 22, 2004 at 01:57:13PM -0500, Mark Linimon wrote: > + > + Assume that someone has the line > + USE_POINTYHAT=yes > + in make.conf. The first of > + the next two Makefile snippets will > + cause make index to fail, while the > + second one will not: > + > +.if USE_POINTYHAT > +.error "POINTYHAT is not supported" > +.endif > + > + > +.if USE_POINTYHAT > +IGNORE=POINTYHAT is not supported > +.endif > + > + > + As Simon already noted, white space is significant inside programlisting and content should immediately follow the opening tag. The programlisting element is a block element which should not be used inside other block elements. I replaced programlisting with literal in the running text, using an option element would be an option too :-) + + Assume that someone has the line + USE_POINTYHAT=yes + in make.conf. The first of + the next two Makefile snippets will + cause make index to fail, while the + second one will not: + + .if USE_POINTYHAT +.error "POINTYHAT is not supported" +.endif + + .if USE_POINTYHAT +IGNORE=POINTYHAT is not supported +.endif + -- Marxpitn