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

Gabor Kovesdan gabor at FreeBSD.org
Wed Mar 6 20:28:43 UTC 2013


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


More information about the svn-doc-all mailing list