summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2011-03-23 18:10:24 +0100
committerHans de Goede <hdegoede@redhat.com>2011-04-04 14:02:32 +0200
commit7aaac6881e0e906901ab50a14497151935835d0b (patch)
tree8156113469b8bf8aa01142dc93fb73016d05d27b
parent1ea2c1f5f5f54eb4c8337071b1e849bd58fed049 (diff)
autotools: handle data files installation
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2ac3bda..eb0cc20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,3 +22,14 @@ noinst_HEADERS = src/console-kit.h \
src/vdagentd-uinput.h \
src/vdagentd-proto.h \
src/vdagent-virtio-port.h
+
+xdgautostartdir = $(sysconfdir)/xdg/autostart
+xdgautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
+
+gdmautostartdir = $(datadir)/gdm/autostart/LoginWindow
+gdmautostart_DATA = $(top_srcdir)/data/spice-vdagent.desktop
+
+initdir = $(sysconfdir)/rc.d/init.d
+init_DATA = $(top_srcdir)/data/spice-vdagentd
+
+EXTRA_DIST = $(xdgautostart_DATA) $(gdmautostart_DATA) $(init_DATA)