Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 11:22:39 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: Tidy and HTML tab spacing
Message-ID:  <alpine.BSF.2.00.1201261121550.21319@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1201261055280.20643@wonkity.com>
References:  <alpine.BSF.2.00.1201181520140.40712@wonkity.com> <20120119.084434.926306642968660094.hrs@allbsd.org> <alpine.BSF.2.00.1201181748230.42380@wonkity.com> <20120119.155736.1127622096127250170.hrs@allbsd.org> <alpine.BSF.2.00.1201201231090.61386@wonkity.com> <alpine.BSF.2.00.1201261055280.20643@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Doc makefile patch actually attached this time.
[-- Attachment #2 --]
Index: doc/share/mk/doc.docbook.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.129
diff -u -r1.129 doc.docbook.mk
--- doc/share/mk/doc.docbook.mk	15 May 2011 20:41:31 -0000	1.129
+++ doc/share/mk/doc.docbook.mk	26 Jan 2012 18:14:31 -0000
@@ -525,6 +525,7 @@
 		${DOC}.xml
 .endif
 .if !defined(NO_TIDY)
+	${SED} -i -e 's/	/\&#09;/g' $$(${XARGS} < HTML.manifest)
 	-${TIDY} ${TIDYOPTS} $$(${XARGS} < HTML.manifest)
 .endif
 
@@ -545,6 +546,7 @@
 		${DOC}.xml > ${.TARGET}
 .endif
 .if !defined(NO_TIDY)
+	${SED} -i -e 's/	/\&#09;/g' ${.TARGET}
 	-${TIDY} ${TIDYOPTS} ${.TARGET}
 .endif
 
Index: doc/share/mk/doc.html.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.html.mk,v
retrieving revision 1.21
diff -u -r1.21 doc.html.mk
--- doc/share/mk/doc.html.mk	25 Feb 2006 23:19:40 -0000	1.21
+++ doc/share/mk/doc.html.mk	26 Jan 2012 18:14:31 -0000
@@ -144,6 +144,7 @@
 ${DOC}.html: ${SRCS} ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG} ${LOCAL_CSS_SHEET}
 	${SGMLNORM} -c ${HTMLCATALOG} ${SRCS:S|^|${.CURDIR}/|} > ${.TARGET}
 .if !defined(NO_TIDY)
+	${SED} -i -e 's/	/\&#09;/g' ${.TARGET}
 	-${TIDY} ${TIDYOPTS} ${.TARGET}
 .endif
 
Index: doc/share/mk/doc.xml.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.xml.mk,v
retrieving revision 1.15
diff -u -r1.15 doc.xml.mk
--- doc/share/mk/doc.xml.mk	9 Aug 2011 06:32:50 -0000	1.15
+++ doc/share/mk/doc.xml.mk	26 Jan 2012 18:14:31 -0000
@@ -385,6 +385,7 @@
 		${XSLT.${_ID}} ${XML.${_ID}}
 . if !defined(NO_TIDY) || empty(NO_TIDY)
 .  if !defined(NO_TIDY.${_ID}) || empty(NO_TIDY.${_ID})
+	${SED} -i -e 's/	/\&#09;/g' ${.TARGET}
 	-${TIDY} ${TIDYOPTS} ${.TARGET}
 .  endif
 . endif

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