From ef5e66ae8e84fce75154417dd51be72f78ec1f45 Mon Sep 17 00:00:00 2001
From: Tomi Ollila <tomi.ollila@iki.fi>
Date: Mon, 1 Sep 2014 21:44:59 +0300
Subject: [PATCH] doc: 'rm -f' potential doxygen temporary output file

Some (older) Doxygen versions do not create such a temporary file.
---
 doc/Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index 08874139..e7d0bac8 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -70,7 +70,7 @@ install-apidocs: apidocs
 $(APIMAN): $(dir)/config.dox $(srcdir)/$(dir)/doxygen.cfg $(srcdir)/lib/notmuch.h
 	mkdir -p $(DOCBUILDDIR)/man/man3
 	doxygen $(DOXYFILE)
-	rm $(DOCBUILDDIR)/man/man3/_*.3
+	rm -f $(DOCBUILDDIR)/man/man3/_*.3
 	perl -pi -e 's/^[.]RI "\\fI/.RI "\\fP/' $(APIMAN)
 else
 apidocs:
-- 
2.26.2