Date: Wed, 06 Mar 2013 21:28:27 +0100 From: Gabor Kovesdan <gabor@FreeBSD.org> To: Gabor Pali <pgj@FreeBSD.org> Cc: svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org Subject: Re: svn commit: r41112 - head/en_US.ISO8859-1/books/porters-handbook Message-ID: <5137A6EB.3000507@FreeBSD.org> In-Reply-To: <201303061910.r26JAnUN037073@svn.freebsd.org> References: <201303061910.r26JAnUN037073@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Em 06-03-2013 20:10, Gabor Pali escreveu: > > Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml > ============================================================================== > --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Wed Mar 6 18:12:47 2013 (r41111) > +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Wed Mar 6 19:10:49 2013 (r41112) > @@ -3,7 +3,6 @@ > "../../../share/xml/freebsd42.dtd" [ > <!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//EN" "../../share/xml/entities.ent"> > %entities; > -]> > > <!-- > The FreeBSD Documentation Project > @@ -11,6 +10,9 @@ > $FreeBSD$ > --> > > +<!ENTITY values.uses SYSTEM "uses.xml"> > +]> > + It would be preferred to move this a bit more above to avoid comments in the preamble. > > Added: head/en_US.ISO8859-1/books/porters-handbook/uses.xml > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/en_US.ISO8859-1/books/porters-handbook/uses.xml Wed Mar 6 19:10:49 2013 (r41112) > @@ -0,0 +1,26 @@ > +<!-- > + > + The FreeBSD Documentation Project > + > + $FreeBSD$ > + > + This file documents the values of the USES make variable. The format is > + easy to grasp from the already-added entries below (or use this scheme > + below as a skeleton): > + > +<row> > + <entry><literal>FEATURE</literal></entry> > + <entry>ARGUMENTS</entry> > + <entry>DESCRIPTION</entry> > +</row> > + > +--> > + > +<row> > + <entry><literal>pathfix</literal></entry> > + <entry>none</entry> > + <entry>Look for the <filename>Makefile.in</filename> and > + <filename>configure</filename> files in the port's associated > + sources and fix common paths to make sure they respect the &os; > + hierarchy.</entry> > +</row> This will fail to build once you add any more row entries below this. XML entities must be well-nested (which means practically the same as well-formed) so they must have exactly one root element. A possible solution is factoring out the whole table to the uses.xml file. Gabor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5137A6EB.3000507>