--- /dev/null
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 180BB431FD0\r
+ for <notmuch@notmuchmail.org>; Mon, 1 Sep 2014 11:45:27 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id DJHGThYbUFHy for <notmuch@notmuchmail.org>;\r
+ Mon, 1 Sep 2014 11:45:23 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by olra.theworths.org (Postfix) with ESMTP id 91E03431FCB\r
+ for <notmuch@notmuchmail.org>; Mon, 1 Sep 2014 11:45:23 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+ id 7CC9B10019E; Mon, 1 Sep 2014 21:45:06 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] doc: 'rm -f' potential doxygen temporary output file\r
+Date: Mon, 1 Sep 2014 21:44:59 +0300\r
+Message-Id: <1409597099-12432-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 2.0.0\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 01 Sep 2014 18:45:27 -0000\r
+\r
+Some (older) Doxygen versions do not create such a temporary file.\r
+\r
+---\r
+\r
+I was crafting somewhat larger patch where doxygen outputs to _build/.wip...\r
+and then the final would be sed(1)'d to the target. But as that would not\r
+be the ultimate solution (i.e. sed(1) to yet another intermediate and mv(1)\r
+that to the target -- for it to be atomic -- and we don't do that elsewhere,\r
+either) I dropped that for this simpler alternative.\r
+\r
+ doc/Makefile.local | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/doc/Makefile.local b/doc/Makefile.local\r
+index 0887413997e6..e7d0bac8f3fb 100644\r
+--- a/doc/Makefile.local\r
++++ b/doc/Makefile.local\r
+@@ -70,7 +70,7 @@ install-apidocs: apidocs\r
+ $(APIMAN): $(dir)/config.dox $(srcdir)/$(dir)/doxygen.cfg $(srcdir)/lib/notmuch.h\r
+ mkdir -p $(DOCBUILDDIR)/man/man3\r
+ doxygen $(DOXYFILE)\r
+- rm $(DOCBUILDDIR)/man/man3/_*.3\r
++ rm -f $(DOCBUILDDIR)/man/man3/_*.3\r
+ perl -pi -e 's/^[.]RI "\\fI/.RI "\\fP/' $(APIMAN)\r
+ else\r
+ apidocs:\r
+-- \r
+2.0.0\r
+\r