From 56a0cf2dad7d2dc4b75b379fdd5d0da63a827a1a Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Tue, 24 Nov 2015 02:05:55 +0100 Subject: Fix make distcheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix make distcheck both with standalone spice-common and with spice server. Signed-off-by: Marc-André Lureau --- 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 #include -#include -#include +#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 */ -- cgit