summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-11-01 14:02:25 +0100
committerHans de Goede <hdegoede@redhat.com>2010-11-01 14:02:25 +0100
commitfe15b744ee090cfbf4722da9fadc8d9b1efb98cc (patch)
tree6f18854f993f0e5d7f04f8c932facde96f1bb506
parent5539985a3850f972d573a9fa566f47162d85b2ea (diff)
Makefile: create dir for vdagentd socket
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index afe6cb2..5a67890 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ bindir ?= /usr/bin
initdir ?= /etc/rc.d/init.d
xdgautostartdir ?= /etc/xdg/autostart
gdmautostartdir ?= /usr/share/gdm/autostart/LoginWindow
+socketdir ?= /var/run/spice-vdagentd
CFLAGS ?= -O2 -g -Wall
CPPFLAGS = $(shell pkg-config --cflags spice-protocol)
@@ -19,6 +20,7 @@ build: $(TARGETS)
install: build
install -d $(DESTDIR)$(bindir)
install -d $(DESTDIR)$(sbindir)
+ install -d $(DESTDIR)$(socketdir)
install -p -m 755 spice-vdagent $(DESTDIR)$(bindir)
install -p -m 755 spice-vdagentd $(DESTDIR)$(sbindir)
install -d $(DESTDIR)$(initdir)