summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDor Laor <dor@qumranet.com>2007-03-27 23:20:40 +0000
committerDor Laor <dor@qumranet.com>2007-03-27 23:20:40 +0000
commit0ae1137f6779fd8264830442b5f6c7ceec862609 (patch)
treed9f07f5464327e45a53baae01295ee1454f8964b /Makefile
parentd671b635d704bfb16678d98f525c77786ac3f77f (diff)
Add kvm_stat to the rpm.
Installed under /usr/bin/kvm_stat
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7cdfec04..28b9ad9d 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ install-rpm:
mkdir -p $(DESTDIR)/etc/udev/rules.d
make -C qemu DESTDIR=$(DESTDIR)/ install
ln -sf /usr/kvm/bin/qemu-system-x86_64 $(DESTDIR)/$(bin)
+ install -m 755 kvm_stat $(DESTDIR)/$(bindir)/kvm_stat
cp scripts/kvm $(DESTDIR)/$(initdir)/kvm
cp scripts/qemu-ifup $(DESTDIR)/$(confdir)/qemu-ifup
install -t $(DESTDIR)/etc/udev/rules.d scripts/*kvm*.rules
@@ -56,7 +57,7 @@ srpm:
tar czf SOURCES/user.tar.gz user
tar czf SOURCES/kernel.tar.gz kernel
tar czf SOURCES/scripts.tar.gz scripts
- cp Makefile configure SOURCES
+ cp Makefile configure kvm_stat SOURCES
rpmbuild --define="_topdir $$(pwd)" -bs $(tmpspec)
$(RM) $(tmpspec)