-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
Seems unecessary to me? Is this just to make sure *.h dont exist if the script failed?
Apart from that, the script can only fail early. It can't fail between the two output files (execpt file system errors).
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/890/files#r52671135