<p>In <a href="https://github.com/geany/geany/pull/890#discussion_r52648965">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>this doesn't properly check for failure.  Something like this is needed:</p>

<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/doc/Makefile.am b/doc/Makefile.am</span>
index 3396063..1f97e4c 100644
<span class="pl-md">--- a/doc/Makefile.am</span>
<span class="pl-mi1">+++ b/doc/Makefile.am</span>
<span class="pl-mdr">@@ -123,7 +123,8 @@</span> 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) \
<span class="pl-md">-    -o geany-gtkdoc.h --sci-output geany-scintilla-gtkdoc.h</span>
<span class="pl-mi1">+    -o geany-gtkdoc.h --sci-output geany-scintilla-gtkdoc.h \</span>
<span class="pl-mi1">+    || { $(RM) geany-gtkdoc.h geany-scintilla-gtkdoc.h && exit 1; }</span>

 ALL_TARGETS += geany-gtkdoc.h geany-scintilla-gtkdoc.h
</pre></div>

<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#r52648965">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJyt2ZZp4WP0hRi05he8cb-4hdz3nks5pjNGUgaJpZM4HM9VD.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#r52648965"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>