summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 16:08:36 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-04-19 16:08:36 +0200
commit02a9c3b4ca8b854b7605eac1e3793e6aac337112 (patch)
tree0d4bd634078ed44aa312d349d13283638c5b94cf
parentca61018bccc652b43de9689465b976fc891dc345 (diff)
autotools: fix init script installationautotools
vdagentd initscript was installed as a data file (using automake _DATA primary) instead of as a script (using _SCRIPTS) which led automake to install it as non-executable.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index decf326..6bc0fd9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ 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
+init_SCRIPTS = $(top_srcdir)/data/spice-vdagentd
install-data-local:
$(MKDIR_P) $(localstatedir)/log/spice-vdagentd