From: Alexander Graf Subject: [PATCH] Use qemu-kvm as installation name Date: Fri, 23 Jan 2009 17:08:04 +0100 Message-ID: <1232726884-14747-1-git-send-email-agraf@suse.de> Cc: avi@redhat.com, anthony@codemonkey.ws To: kvm@vger.kernel.org Return-path: Received: from mx1.suse.de ([195.135.220.2]:42287 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbZAWQII (ORCPT ); Fri, 23 Jan 2009 11:08:08 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Most distributions use an executable name of qemu-kvm for kvm's qemu version. This is mostly because Qemu was there before and there usually is a package with a binary called qemu-system-x86_64 already. In order to not confuse people why distributions do things so differently from upstream, let's call the binary qemu-kvm in make install, so it's always qemu-kvm. Inspired by Anthony. Signed-off-by: Alexander Graf --- qemu/Makefile.target | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/qemu/Makefile.target b/qemu/Makefile.target index 8f69af7..def3e2b 100644 --- a/qemu/Makefile.target +++ b/qemu/Makefile.target @@ -824,9 +824,13 @@ clean: rm -f *.d */*.d tcg/*.o install: all +ifeq ($(PROGS),qemu-system-x86_64) + $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)/qemu-kvm" +else ifneq ($(PROGS),) $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" endif +endif # Include automatically generated dependency files -include $(wildcard *.d */*.d) -- 1.6.0.2