<p>In <a href="https://github.com/geany/geany/pull/890#discussion_r52671135">doc/Makefile.am</a>:</p>
<pre style='color:#555'>>  
> -all-local: Doxyfile.stamp
> +Doxyfile.stamp: Doxyfile Doxyfile-gi $(doxygen_sources)
> +  $(AM_V_GEN)$(DOXYGEN) Doxyfile-gi && $(DOXYGEN) Doxyfile && echo "" > $@
> +
> +ALL_TARGETS = Doxyfile.stamp
> +
> +if WITH_PYTHON
> +
> +geany-scintilla-gtkdoc.h: geany-gtkdoc.h
> +
> +geany-gtkdoc.h: Doxyfile.stamp $(top_srcdir)/scripts/gen-api-gtkdoc.py
> +  $(AM_V_GEN)$(top_srcdir)/scripts/gen-api-gtkdoc.py xml -d $(builddir) \
> +  -o geany-gtkdoc.h --sci-output geany-scintilla-gtkdoc.h
</pre>
<p>Seems unecessary to me? Is this just to make sure *.h dont exist if the script failed?</p>

<p>Apart from that, the script can only fail early. It can't fail between the two output files (execpt file system errors).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/890/files#r52671135">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0C3ijtiY6_psIAuUJOBz6wOuarDks5pjPasgaJpZM4HM9VD.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/890/files#r52671135"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>