Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 12:46:19 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        wblock@wonkity.com
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: Tidy and HTML tab spacing
Message-ID:  <20120127.124619.1645166101623286100.hrs@allbsd.org>
In-Reply-To: <alpine.BSF.2.00.1201261121550.21319@wonkity.com>
References:  <alpine.BSF.2.00.1201201231090.61386@wonkity.com> <alpine.BSF.2.00.1201261055280.20643@wonkity.com> <alpine.BSF.2.00.1201261121550.21319@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_Jan_27_12_46_19_2012_976)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Warren Block <wblock@wonkity.com> wrote
  in <alpine.BSF.2.00.1201261121550.21319@wonkity.com>:

wb> Index: doc/share/mk/doc.docbook.mk
wb> ===================================================================
wb> RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
wb> retrieving revision 1.129
wb> diff -u -r1.129 doc.docbook.mk
wb> --- doc/share/mk/doc.docbook.mk	15 May 2011 20:41:31 -0000	1.129
wb> +++ doc/share/mk/doc.docbook.mk	26 Jan 2012 18:14:31 -0000
wb> @@ -525,6 +525,7 @@
wb>  		${DOC}.xml
wb>  .endif
wb>  .if !defined(NO_TIDY)
wb> +	${SED} -i -e 's/	/\&#09;/g' $$(${XARGS} < HTML.manifest)
wb>  	-${TIDY} ${TIDYOPTS} $$(${XARGS} < HTML.manifest)
wb>  .endif

 Changes look good to me, but it is better to use something like this

 REINPLACE_TABS_CMD?=${SED} -i -e 's/	/\&#09;/g'

 in doc.common.mk (with some comments explaining this is a hack to
 preserve literal tab characters) and use it in these three.

-- Hiroki

----Security_Multipart(Fri_Jan_27_12_46_19_2012_976)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAk8iHgsACgkQTyzT2CeTzy0edQCcCXd4Db/J9BXVPHqWCScydfDb
bywAnj/sXjZSDeBH2MXAEJkqDFQa9X1d
=CnEp
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_Jan_27_12_46_19_2012_976)----



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