[PATCH] doc: 'rm -f' potential doxygen temporary output file
Tomi Ollila
tomi.ollila at iki.fi
Mon Sep 1 11:44:59 PDT 2014
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
More information about the notmuch
mailing list