doc: 'rm -f' potential doxygen temporary output file
authorTomi Ollila <tomi.ollila@iki.fi>
Mon, 1 Sep 2014 18:44:59 +0000 (21:44 +0300)
committerDavid Bremner <david@tethera.net>
Tue, 2 Sep 2014 15:43:20 +0000 (08:43 -0700)
Some (older) Doxygen versions do not create such a temporary file.

doc/Makefile.local

index 0887413997e6d6a97b13db47d15ee072212ffd8b..e7d0bac8f3fbb3914a17bc209dc5dd077a0d3e15 100644 (file)
@@ -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: