[Spice-devel] [spice-streaming-agent 1/6] build: Fix VPATH build

Christophe Fergeau cfergeau at redhat.com
Thu Mar 1 15:27:14 UTC 2018


The .desktop file is generated, so will be in $(builddir), not $(srcdir)

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 74ec16a..94ad7aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,11 +6,11 @@ SUBDIRS = \
 
 # this will start the program for each user session
 xdgautostartdir = $(sysconfdir)/xdg/autostart
-xdgautostart_DATA = $(srcdir)/data/spice-streaming.desktop
+xdgautostart_DATA = $(builddir)/data/spice-streaming.desktop
 
 # this will start the program for the login session
 gdmautostartdir = $(datadir)/gdm/greeter/autostart
-gdmautostart_DATA = $(srcdir)/data/spice-streaming.desktop
+gdmautostart_DATA = $(builddir)/data/spice-streaming.desktop
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = spice-streaming-agent.pc
-- 
2.14.3



More information about the Spice-devel mailing list