make: Fix GTKDOC_CHECK for Automake 1.13
commit7ae93808d823ad10c4a62b2495a170a461ec60ec
authorDavid King <amigadave@amigadave.com>
Wed, 5 Jun 2013 20:45:38 +0000 (5 21:45 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 20 Sep 2013 12:27:09 +0000 (20 14:27 +0200)
treed956ee073011266498f941b7b492d2633f7159c1
parent8a17bcf851398b54a37bc65d8c9112a4e06afbeb
make: Fix GTKDOC_CHECK for Automake 1.13

The parallel test driver that is the default in Automake 1.13 and above
creates log files with .log and .trs extensions. It creates the
filenames based on the test name, which in the case of GTKDOC_CHECK is
the absolute path to the gtkdoc-check binary. This is generally
$(prefix)/bin and not writable by the user, which leads to a build
failure.

Avoid this situation by generating a shell script in builddir, which in
turn calls the gtkdoc-check binary. In this way, the log and result file
are created in builddir and the build can proceed as normal.

https://bugzilla.gnome.org/show_bug.cgi?id=701638
gtk-doc.m4
gtk-doc.make
gtk-doc.notmpl.make