summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-18 14:20:44 +0000
committerHans de Goede <hdegoede@redhat.com>2011-04-19 16:16:00 +0200
commita1557370b23863c655ba464d3db31a96d0c52b62 (patch)
treebf9a58b9ea10c934bd985cdca59b38a29aeaba85 /Makefile.am
parent9145b7b29d08dc04331b63c912ea3a9dde1b8750 (diff)
autotools: add install-data-local rule
It's used to create the /var/run/spice-vdagentd and /var/log/spice-vdagentd directories which the agent requires to run.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index f882c97..0f83138 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,4 +34,9 @@ gdmautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
initdir = $(sysconfdir)/rc.d/init.d
init_SCRIPTS = $(top_srcdir)/data/spice-vdagentd
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/log/spice-vdagentd
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/run/spice-vdagentd
+
+
EXTRA_DIST = $(xdgautostart_DATA) $(gdmautostart_DATA) $(init_SCRIPTS)