]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix parallel build in docs/ directory
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 Apr 2012 11:26:04 +0000 (12:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 16 Apr 2012 11:39:19 +0000 (12:39 +0100)
commit26fdec39b43d886948796b88fabc11beb967ef66
treee25884e8f22a7a8d9b899c3e27f1065d7138bb26
parentcf5143317251c0b2b4173aed05bab17907041f98
Fix parallel build in docs/ directory

Every now & then, with parallel builds, we get a failure to
validate hvsupport.html.in.  I eventually noticed that this
is because we get 2 instances of the generator running at
once.

We already list hvsupport.html.in in BUILT_SOURCES but this
was not working. It turns out the flaw is that we were
adding deps to the 'all:' target instead of the 'all-am:'
target. BUILT_SOURCES is a dep of 'all', so any custom
targets written in Makefile.am must use 'all-am:' so that
they don't get run until BUILT_SOURCES are completely
generated

* docs/Makefile.am: s/all/all-am/
(cherry picked from commit 4f4b496e782dd20d105b89f89e07288772555346)
docs/Makefile.am