makefile: fix w32 install target for qemu-ga
commit3666be19e6d055fc6e4216f1f69e55d232cdb091
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 15 Nov 2015 16:12:30 +0000 (15 10:12 -0600)
committerStefan Weil <sw@weilnetz.de>
Mon, 16 Nov 2015 21:53:56 +0000 (16 22:53 +0100)
tree66aa4cd8386e4727bf748fb369e3471a80ebec26
parent38456b381320e0fb6dfd5b19a5e36aea6d164bc2
makefile: fix w32 install target for qemu-ga

fafcaf1 added a 'qemu-ga' install target on w32, which can be used
in place of the existing qemu-ga.exe target to also handle dealing
with other components such as DLLs for VSS/fsfreeze and generating
an MSI package if appropriate configure options are present.

As part of that, qemu-ga$(EXESUF) was removed from $TOOLS in favor
of this new qemu-ga target.

The install rule however relies on a direct mapping of the $TOOLS
entry to the actual resulting binary. In the case of w32, qemu-ga
is not identical to qemu-ga$(EXESUF), and the install recipe fails
to find the 'qemu-ga' binary.

Fix this by essentially remapping 'qemu-ga' back to 'qemu-ga.exe'
in the install recipe.

This raises the question of whether or not qemu-ga should continue
to live in TOOLS as opposed to it's own special target, but as a
late fix for a regression in 2.5 this commit should be safer, since
we rely on qemu-ga's presence in $TOOLS in several places throughout
Makefile.

Reported-by: Stefan Weil <sw@weilnetz.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Makefile