From owner-freebsd-doc@FreeBSD.ORG Fri Jan 27 03:46:50 2012 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F257B1065670 for ; Fri, 27 Jan 2012 03:46:50 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5856D8FC08 for ; Fri, 27 Jan 2012 03:46:50 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q0R3kaG8090923; Fri, 27 Jan 2012 12:46:46 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q0R3kWmT036153; Fri, 27 Jan 2012 12:46:33 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 27 Jan 2012 12:46:19 +0900 (JST) Message-Id: <20120127.124619.1645166101623286100.hrs@allbsd.org> To: wblock@wonkity.com From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.4 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Fri_Jan_27_12_46_19_2012_976)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Fri, 27 Jan 2012 12:46:47 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-doc@FreeBSD.org Subject: Re: Tidy and HTML tab spacing X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 03:46:51 -0000 ----Security_Multipart(Fri_Jan_27_12_46_19_2012_976)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Warren Block wrote in : 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/ /\ /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/ /\ /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)----