From: ths Date: Sat, 20 Oct 2007 18:29:34 +0000 (+0000) Subject: Don't install tools if $(TOOLS) is empty, by Thayne Harbaugh. X-Git-Tag: xen-3.3.0-rc1~944 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=932a79df5d285d4fe48e7fce3b3c4f251d86af3f;p=qemu-xen-3.3-testing.git Don't install tools if $(TOOLS) is empty, by Thayne Harbaugh. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3415 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/Makefile b/Makefile index 5ed7eb5c..0eb39b5c 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,9 @@ endif install: all $(if $(BUILD_DOCS),install-doc) mkdir -p "$(DESTDIR)$(bindir)" +ifneq ($(TOOLS),) $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" +endif mkdir -p "$(DESTDIR)$(datadir)" for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ video.x openbios-sparc32 pxe-ne2k_pci.bin \