ACK

On Tue, Nov 24, 2015 at 08:43:53AM +0100, Marc-André Lureau wrote:
> Fix make distcheck both with standalone spice-common and with spice
> server.
> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  Makefile.am              | 2 +-
>  tests/Makefile.am        | 3 ++-
>  tests/test-marshallers.c | 4 ++--
>  3 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 4b138fe..4d9cf59 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1,7 +1,7 @@
>  NULL =
>  ACLOCAL_AMFLAGS = -I m4
>  
> -SUBDIRS = common
> +SUBDIRS = common tests
>  
>  MAINTAINERCLEANFILES =                                               \
>       $(srcdir)/INSTALL                                       \
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index cde46e4..518e63f 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -9,7 +9,7 @@ test_marshallers_SOURCES =            \
>       test-marshallers.h              \
>       $(NULL)
>  test_marshallers_CFLAGS =            \
> -     -I$(top_srcdir)/common          \
> +     -I$(top_srcdir)                 \
>       $(GLIB2_CFLAGS)                 \
>       $(PROTOCOL_CFLAGS)              \
>       $(NULL)
> @@ -45,6 +45,7 @@ generated_test_marshallers.h: 
> $(srcdir)/test-marshallers.proto $(MARSHALLERS_DEP
>  
>  EXTRA_DIST =                         \
>       $(TEST_MARSHALLERS)             \
> +     test-marshallers.proto          \
>       $(NULL)
>  
>  -include $(top_srcdir)/git.mk
> diff --git a/tests/test-marshallers.c b/tests/test-marshallers.c
> index e3e4d09..d2c80e5 100644
> --- a/tests/test-marshallers.c
> +++ b/tests/test-marshallers.c
> @@ -1,8 +1,8 @@
>  #include <glib.h>
>  #include <string.h>
> -#include <marshaller.h>
>  
> -#include <generated_test_marshallers.h>
> +#include "common/marshaller.h"
> +#include "generated_test_marshallers.h"
>  
>  static uint8_t expected_data[] = { 0x02, 0x00, 0x00, 0x00, /* data_size */
>                                     0x08, 0x00, 0x00, 0x00, /* data offset */
> -- 
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to