]> code.ossystems Code Review - openembedded-core.git/commit
gtk-doc: don't regenerate gtk-doc in do_install
authorRoss Burton <ross.burton@intel.com>
Wed, 21 Mar 2018 14:47:29 +0000 (14:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Mar 2018 08:33:36 +0000 (09:33 +0100)
commit9ea9d61f26a942dbbc90070b40ba0209021a4b46
tree8827550ffe6fa977b3150231a98d47fa05163492
parentcde1b85d402f5999814de4022e3b6ddc90b4604a
gtk-doc: don't regenerate gtk-doc in do_install

In out-of-tree builds gtk-doc's setup-build target copies all the content from
$srcdir to $builddir. However, if some of this content is regenerated at
configure time this can happen:

1) configure writes new build/version.xml
2) make compile copies content, including the tarball's src/version.xml
   to build/version.xml, and generates gtk-doc.
3) make install notices build/version.xml is older than configure.status,
   so regenerates gtk-doc.

gtk-doc generation is a slow process at the best of times, so doing it twice
isn't good.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-gnome/gtk-doc/files/no-clobber.patch [new file with mode: 0644]
meta/recipes-gnome/gtk-doc/gtk-doc_1.27.bb