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 
        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)

notmuch mailing list

Reply via email to