aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-20 18:29:34 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-20 18:29:34 +0000
commit932a79df5d285d4fe48e7fce3b3c4f251d86af3f (patch)
treebbd9e0698d23fd853df03186990fbdf16e1065cd /Makefile
parent5a9b7d36a0730fa8992ee4cc05825bd0e9b184b0 (diff)
downloadqemu-932a79df5d285d4fe48e7fce3b3c4f251d86af3f.zip
qemu-932a79df5d285d4fe48e7fce3b3c4f251d86af3f.tar.gz
qemu-932a79df5d285d4fe48e7fce3b3c4f251d86af3f.tar.bz2
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ed7eb5..0eb39b5 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 \