From 931dd61f127e1c19d039a87df29637ade00cbf99 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sat, 29 Apr 2000 07:46:15 +0000 Subject: [PATCH] Do xargs only if HTML.manifest is exist. --- share/mk/doc.docbook.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index edbede191b..612bd17536 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -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 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