]> git.proxmox.com Git - mirror_qemu.git/commit
Makefile: Fix "make install" when "make all" needs work
authorMarkus Armbruster <armbru@redhat.com>
Fri, 12 Jul 2019 05:59:35 +0000 (07:59 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 15 Jul 2019 19:09:07 +0000 (21:09 +0200)
commit47ae060e750db2b56543bde47fed9593e2d7a2f2
treedd603041b0c74f65e6a43811d9890fdc1614d6ea
parent5ea8ec2fcf57cb9af24ad2cf17b4d64adb03afdf
Makefile: Fix "make install" when "make all" needs work

Until recently, target install used to recurse into target directories
in its recipe: it ran make install in a for-loop.  Since target
install depends on target all, this trivially ensured we run the
sub-make install only after completing target all.

Commit 1338a4b "Makefile: Reuse all's recursion machinery for clean
and install" moved the target recursion to dependencies.  That's good
(the commit message explains why), but I forgot to add dependencies to
ensure make runs the sub-make install only after completing target
all.  Do that now.

Fixes: 1338a4b72659ce08eacb9de0205fe16202a22d9c
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190712055935.23061-1-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Makefile