Change the invocation of tidy(1) in the index.html target to only update

the .html files that have been built, instead of all of them.  Fixes a bug
where "make FORMATS='html-split html'" would only update the split HTML
files.

Reported by:    Mark Ovens <mark@ukug.uk.FreeBSD.org>
Submitted by:   Neil Blakey-Milner <nbm@mithrandir.moria.org>
This commit is contained in:
Nik Clayton 1999-11-01 19:41:02 +00:00
parent 121bfa3885
commit ab3a40fe62
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=5990

View file

@ -1,5 +1,5 @@
#
# $FreeBSD$
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.2 1999/09/06 06:53:39 peter Exp $
#
# This include file <doc.docbook.mk> handles building and installing of
# DocBook documentation in the FreeBSD Documentation Project.
@ -163,7 +163,7 @@ all: ${_docs}
index.html HTML.manifest: ${SRCS}
${JADE} -V html-manifest -ioutput.html ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC}
-tidy -i -m -f /dev/null ${TIDYFLAGS} *.html
-tidy -i -m -f /dev/null ${TIDYFLAGS} `xargs < HTML.manifest`
${DOC}.html: ${SRCS}
${JADE} -ioutput.html -V nochunks ${JADEOPTS} -d ${DSLHTML} -t sgml ${MASTERDOC} > ${.TARGET}