summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-30 15:27:08 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-30 15:28:37 +0200
commit448fd19826636b82b0297efcf4fbb7bf82a4bbe0 (patch)
tree3b4197bc6e2ab33653159cc18de0225b197908a3
parentb8fa31efebf5c1018c6bcfe3503501827f9585d9 (diff)
Install spice-vdagent under /usr/bin
Rather the under /sbin where the daemon goes.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 31cd768..dc48046 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
DESTDIR ?=
sbindir ?= /sbin
+bindir ?= /usr/bin
udevdir ?= /lib/udev/rules.d
xdgautostartdir ?= /etc/xdg/autostart
gdmautostartdir ?= /usr/share/gdm/autostart/LoginWindow
@@ -15,8 +16,10 @@ TARGETS := spice-vdagentd spice-vdagent
build: $(TARGETS)
install: build
+ install -d $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(sbindir)
- install -p -m 755 $(TARGETS) $(DESTDIR)$(sbindir)
+ install -p -m 755 spice-vdagent $(DESTDIR)$(bindir)
+ install -p -m 755 spice-vdagentd $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(udevdir)
install -p -m 644 *.rules $(DESTDIR)$(udevdir)
install -d $(DESTDIR)$(xdgautostartdir)