behdad/git.mk — pull request #9 by em- (2013-08-13 19:59:20+00:00)
Title: Trigger the libtool rules if gtk-doc uses it

gtk-doc may use libtool to build and run the `gtkdoc-scangobj` helper
programs but does so without defining the LTCOMPILE variable, causing
the libtool detection logic to fail and .libs directories do not get
added to the ignore list.

Since there's no explicit variable telling us if GTK_DOC_USE_LIBTOOL was
set, rely on GTKDOC_RUN being unset when libtool is not used.

The issue can be tested on the GTK+ repository making sure that the
`--enable-gtk-doc` configure flag has been set.