Add NO_TIDY variable to disable tidy.
Tidy cannot handle EUC-JP codepoint range correctly with -raw option. I will try to fix this problem, but temporary disable to use tidy in Japanese Handbook and FAQ.
This commit is contained in:
parent
de56fa420c
commit
4182f5b9e7
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=6483
1 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.5 1999/12/24 01:25:27 nik Exp $
|
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.6 2000/01/24 20:02:50 nik Exp $
|
||||||
#
|
#
|
||||||
# This include file <doc.docbook.mk> handles building and installing of
|
# This include file <doc.docbook.mk> handles building and installing of
|
||||||
# DocBook documentation in the FreeBSD Documentation Project.
|
# DocBook documentation in the FreeBSD Documentation Project.
|
||||||
|
|
@ -40,6 +40,8 @@
|
||||||
# EXTRA_CATALOGS Additional catalog files that should be used by
|
# EXTRA_CATALOGS Additional catalog files that should be used by
|
||||||
# any SGML processing applications.
|
# any SGML processing applications.
|
||||||
#
|
#
|
||||||
|
# NO_TIDY If you do not want to use tidy, set this to "YES".
|
||||||
|
#
|
||||||
# Documents should use the += format to access these.
|
# Documents should use the += format to access these.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
@ -166,11 +168,15 @@ all: ${_docs}
|
||||||
|
|
||||||
index.html HTML.manifest: ${SRCS}
|
index.html HTML.manifest: ${SRCS}
|
||||||
${JADE} -V html-manifest -ioutput.html ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC}
|
${JADE} -V html-manifest -ioutput.html ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC}
|
||||||
|
.if !defined(NO_TIDY)
|
||||||
-tidy -i -m -f /dev/null ${TIDYFLAGS} `xargs < HTML.manifest`
|
-tidy -i -m -f /dev/null ${TIDYFLAGS} `xargs < HTML.manifest`
|
||||||
|
.endif
|
||||||
|
|
||||||
${DOC}.html: ${SRCS}
|
${DOC}.html: ${SRCS}
|
||||||
${JADE} -ioutput.html -V nochunks ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC} > ${.TARGET}
|
${JADE} -ioutput.html -V nochunks ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC} > ${.TARGET}
|
||||||
|
.if !defined(NO_TIDY)
|
||||||
-tidy -i -m -f /dev/null ${TIDYFLAGS} ${.TARGET}
|
-tidy -i -m -f /dev/null ${TIDYFLAGS} ${.TARGET}
|
||||||
|
.endif
|
||||||
|
|
||||||
${DOC}.html-split.tar: HTML.manifest
|
${DOC}.html-split.tar: HTML.manifest
|
||||||
tar cf ${.TARGET} `xargs < HTML.manifest`
|
tar cf ${.TARGET} `xargs < HTML.manifest`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue