From 194e4a12c039de4c3340271a3b56e3e33d443432 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 1 Sep 2014 21:44:59 +0300 Subject: [PATCH] [PATCH] doc: 'rm -f' potential doxygen temporary output file --- df/0ade0ae516d402f6ba468439fd43a0e6f8d203 | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 df/0ade0ae516d402f6ba468439fd43a0e6f8d203 diff --git a/df/0ade0ae516d402f6ba468439fd43a0e6f8d203 b/df/0ade0ae516d402f6ba468439fd43a0e6f8d203 new file mode 100644 index 000000000..47936d304 --- /dev/null +++ b/df/0ade0ae516d402f6ba468439fd43a0e6f8d203 @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 180BB431FD0 + for ; Mon, 1 Sep 2014 11:45:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id DJHGThYbUFHy for ; + Mon, 1 Sep 2014 11:45:23 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 91E03431FCB + for ; Mon, 1 Sep 2014 11:45:23 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 7CC9B10019E; Mon, 1 Sep 2014 21:45:06 +0300 (EEST) +From: Tomi Ollila +To: notmuch@notmuchmail.org +Subject: [PATCH] doc: 'rm -f' potential doxygen temporary output file +Date: Mon, 1 Sep 2014 21:44:59 +0300 +Message-Id: <1409597099-12432-1-git-send-email-tomi.ollila@iki.fi> +X-Mailer: git-send-email 2.0.0 +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 01 Sep 2014 18:45:27 -0000 + +Some (older) Doxygen versions do not create such a temporary file. + +--- + +I was crafting somewhat larger patch where doxygen outputs to _build/.wip... +and then the final would be sed(1)'d to the target. But as that would not +be the ultimate solution (i.e. sed(1) to yet another intermediate and mv(1) +that to the target -- for it to be atomic -- and we don't do that elsewhere, +either) I dropped that for this simpler alternative. + + doc/Makefile.local | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/Makefile.local b/doc/Makefile.local +index 0887413997e6..e7d0bac8f3fb 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.0.0 + -- 2.26.2