Do xargs only if HTML.manifest is exist.

This commit is contained in:
Jun Kuriyama 2000-04-29 07:46:15 +00:00
parent 18f6560faf
commit 931dd61f12
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=7111

View file

@ -1,5 +1,5 @@
#
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.9 2000/03/23 09:00:15 nik Exp $
# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.10 2000/03/24 19:31:34 nbm Exp $
#
# This include file <doc.docbook.mk> handles building and installing of
# DocBook documentation in the FreeBSD Documentation Project.
@ -107,10 +107,10 @@ KNOWN_FORMATS= html html-split html-split.tar txt rtf ps pdf tex dvi tar pdb
_cf=${_curformat}
.if ${_cf} == "html-split"
_docs+= index.html HTML.manifest
CLEANFILES+= `xargs < HTML.manifest` HTML.manifest
CLEANFILES+= `[ -f HTML.manifest ] && xargs < HTML.manifest` HTML.manifest
.elif ${_cf} == "html-split.tar"
_docs+= ${DOC}.html-split.tar
CLEANFILES+= `xargs < HTML.manifest` HTML.manifest
CLEANFILES+= `[ -f HTML.manifest ] && xargs < HTML.manifest` HTML.manifest
CLEANFILES+= ${DOC}.html-split.tar
.elif ${_cf} == "html"
_docs+= ${DOC}.html