* [PATCH] doc: 'rm -f' potential doxygen temporary output file
@ 2014-09-01 18:44 Tomi Ollila
2014-09-02 15:48 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Tomi Ollila @ 2014-09-01 18:44 UTC (permalink / raw)
To: notmuch; +Cc: tomi.ollila
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] doc: 'rm -f' potential doxygen temporary output file
2014-09-01 18:44 [PATCH] doc: 'rm -f' potential doxygen temporary output file Tomi Ollila
@ 2014-09-02 15:48 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2014-09-02 15:48 UTC (permalink / raw)
To: Tomi Ollila, notmuch; +Cc: tomi.ollila
Tomi Ollila <tomi.ollila@iki.fi> writes:
> Some (older) Doxygen versions do not create such a temporary file.
>
> ---
pushed.
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-02 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-01 18:44 [PATCH] doc: 'rm -f' potential doxygen temporary output file Tomi Ollila
2014-09-02 15:48 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).