[Spice-devel] [spice-streaming-agent 1/6] build: Fix VPATH build
Jonathon Jongsma
jjongsma at redhat.com
Thu Mar 1 17:11:31 UTC 2018
On Thu, 2018-03-01 at 16:27 +0100, Christophe Fergeau wrote:
> 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
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
More information about the Spice-devel
mailing list